Class LDAPAuthenticationComponentImpl

    • Constructor Detail

      • LDAPAuthenticationComponentImpl

        public LDAPAuthenticationComponentImpl()
    • Method Detail

      • setLDAPInitialDirContextFactory

        public void setLDAPInitialDirContextFactory​(LDAPInitialDirContextFactory ldapInitialDirContextFactory)
      • setUserNameFormat

        public void setUserNameFormat​(java.lang.String userNameFormat)
      • setLdapNameResolver

        public void setLdapNameResolver​(LDAPNameResolver ldapNameResolver)
      • setEscapeCommasInBind

        public void setEscapeCommasInBind​(boolean escapeCommasInBind)
      • setEscapeCommasInUid

        public void setEscapeCommasInUid​(boolean escapeCommasInUid)
      • setActive

        public void setActive​(boolean active)
      • isActive

        public boolean isActive()
        Description copied from interface: ActivateableBean
        Determines whether this bean is active.
        Specified by:
        isActive in interface ActivateableBean
        Returns:
        true if this bean is active
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • authenticateImpl

        protected void authenticateImpl​(java.lang.String userName,
                                        char[] password)
                                 throws org.alfresco.repo.security.authentication.AuthenticationException
        Implement the authentication method
        Overrides:
        authenticateImpl in class AbstractAuthenticationComponent
        Parameters:
        userName - String
        password - char[]
        Throws:
        org.alfresco.repo.security.authentication.AuthenticationException
      • setId

        public void setId​(java.lang.String id)
        Set the unique name of this ldap authentication component e.g. "managed,ldap1"
        Parameters:
        id - String