public class AnonymousAuthenticator extends AbstractAuthenticator
Authenticator that handles anonymous connections
(type 'none').LOG| Constructor and Description |
|---|
AnonymousAuthenticator()
Creates a new instance.
|
AnonymousAuthenticator(org.apache.directory.api.ldap.model.name.Dn baseDn)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
LdapPrincipal |
authenticate(BindOperationContext bindContext)
If the context is not configured to allow anonymous connections,
this method throws a
NoPermissionException. |
checkPwdPolicy, destroy, doDestroy, doInit, getAuthenticatorType, getBaseDn, getDirectoryService, init, invalidateCache, isValid, setBaseDnpublic AnonymousAuthenticator()
public AnonymousAuthenticator(org.apache.directory.api.ldap.model.name.Dn baseDn)
public LdapPrincipal authenticate(BindOperationContext bindContext) throws org.apache.directory.api.ldap.model.exception.LdapNoPermissionException
NoPermissionException.bindContext - The Bind contextorg.apache.directory.api.ldap.model.exception.LdapNoPermissionExceptionCopyright © 2021. All rights reserved.