Class CommonAuthenticator

  • All Implemented Interfaces:
    org.apache.directory.server.core.authn.Authenticator

    public class CommonAuthenticator
    extends org.apache.directory.server.core.authn.AbstractAuthenticator
    Implements ApacheDS authenticator to allow authentication by directory backend.
    • Field Summary

      • Fields inherited from class org.apache.directory.server.core.authn.AbstractAuthenticator

        LOG
    • Constructor Summary

      Constructors 
      Constructor Description
      CommonAuthenticator​(DirectoryBackendFactory directoryBackendFactory, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
      Instantiates a new authenticator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.directory.server.core.api.LdapPrincipal authenticate​(org.apache.directory.server.core.api.interceptor.context.BindOperationContext context)  
      • Methods inherited from class org.apache.directory.server.core.authn.AbstractAuthenticator

        checkPwdPolicy, destroy, doDestroy, doInit, getAuthenticatorType, getBaseDn, getDirectoryService, init, invalidateCache, isValid, setBaseDn
    • Constructor Detail

      • CommonAuthenticator

        public CommonAuthenticator​(DirectoryBackendFactory directoryBackendFactory,
                                   org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
        Instantiates a new authenticator.
        Parameters:
        directoryBackendFactory - the directory backend factory
        schemaManager - the schema manager
    • Method Detail

      • authenticate

        public org.apache.directory.server.core.api.LdapPrincipal authenticate​(org.apache.directory.server.core.api.interceptor.context.BindOperationContext context)
                                                                        throws org.apache.directory.api.ldap.model.exception.LdapException
        Throws:
        org.apache.directory.api.ldap.model.exception.LdapException