public class AnonymousAuthenticator extends AbstractAuthenticator
Authenticator
that handles anonymous connections
(type 'none').LOG
Constructor and Description |
---|
AnonymousAuthenticator()
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, getDirectoryService, init, invalidateCache
public AnonymousAuthenticator()
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.LdapNoPermissionException
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.