
com.nimbusds.ldap.dnresolver.DNResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dn-resovler Show documentation
Show all versions of dn-resovler Show documentation
Algorithms for resolving the distinguished name (DN) of an
LDAP directory object.
The newest version!
package com.nimbusds.ldap.dnresolver;
import com.unboundid.ldap.sdk.DN;
/**
* Interface for resolving a directory object's DN based on a unique attribute
* value.
*/
public interface DNResolver {
/**
* Resolves a directory object's distinguished name (DN).
*
* @param attributeValue The resolving attribute value which must be
* unique among all resolved entries. Examples:
* username, user ID, email address.
*
* @return The resolved DN, {@code null} if no matching DN could be
* found.
*
* @throws IllegalArgumentException If the input attribute is
* {@code null} or empty string.
* @throws DNResolveException If DN resolution failed.
*/
public DN resolve(final String attributeValue) throws DNResolveException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy