I'm trying to create a custom class that authenticates a user from a Rest API. It works and I can authenticate, but I cannot identify the user.
My question is:
Is it possible to identify a user with just a dn or cn for example? I want to use my class (rest API) without password. The API provides the entire authentication process and returns the user's dn.