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, setBaseDn
public AnonymousAuthenticator()
public AnonymousAuthenticator(org.apache.directory.api.ldap.model.name.Dn baseDn)
baseDn
- The base Dnpublic LdapPrincipal authenticate(BindOperationContext bindContext) throws org.apache.directory.api.ldap.model.exception.LdapNoPermissionException
NoPermissionException
.bindContext
- The Bind contextorg.apache.directory.api.ldap.model.exception.LdapNoPermissionException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.