Package org.ldaptive.auth
Class NoOpDnResolver
- java.lang.Object
-
- org.ldaptive.auth.NoOpDnResolver
-
- All Implemented Interfaces:
DnResolver
public class NoOpDnResolver extends Object implements DnResolver
Returns a DN that is the user identifier.
-
-
Constructor Summary
Constructors Constructor Description NoOpDnResolver()
-
-
-
Method Detail
-
resolve
public String resolve(User user) throws LdapException
Returns the user as the DN.- Specified by:
resolve
in interfaceDnResolver
- Parameters:
user
- to set as DN- Returns:
- user as DN
- Throws:
LdapException
- never
-
-