Class LdapPasswordSynchronizationAuthenticationPostProcessor

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.core.Ordered

    public class LdapPasswordSynchronizationAuthenticationPostProcessor
    extends java.lang.Object
    implements org.apereo.cas.authentication.AuthenticationPostProcessor, org.springframework.beans.factory.DisposableBean
    Since:
    6.1.0
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      protected org.ldaptive.LdapAttribute getLdapPasswordAttribute​(org.apereo.cas.authentication.credential.UsernamePasswordCredential credential)
      Gets ldap password attribute.
      void process​(org.apereo.cas.authentication.AuthenticationBuilder builder, org.apereo.cas.authentication.AuthenticationTransaction transaction)  
      boolean supports​(org.apereo.cas.authentication.Credential credential)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationPostProcessor

        getOrder
    • Constructor Detail

      • LdapPasswordSynchronizationAuthenticationPostProcessor

        public LdapPasswordSynchronizationAuthenticationPostProcessor​(org.apereo.cas.configuration.model.support.ldap.AbstractLdapSearchProperties properties)
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
      • process

        public void process​(org.apereo.cas.authentication.AuthenticationBuilder builder,
                            org.apereo.cas.authentication.AuthenticationTransaction transaction)
                     throws org.apereo.cas.authentication.AuthenticationException
        Specified by:
        process in interface org.apereo.cas.authentication.AuthenticationPostProcessor
        Throws:
        org.apereo.cas.authentication.AuthenticationException
      • supports

        public boolean supports​(org.apereo.cas.authentication.Credential credential)
        Specified by:
        supports in interface org.apereo.cas.authentication.AuthenticationPostProcessor
      • getLdapPasswordAttribute

        protected org.ldaptive.LdapAttribute getLdapPasswordAttribute​(org.apereo.cas.authentication.credential.UsernamePasswordCredential credential)
        Gets ldap password attribute.
        Parameters:
        credential - the credential
        Returns:
        the ldap password attribute