Package org.apereo.cas.authentication
Class LdapPasswordSynchronizationAuthenticationPostProcessor
- java.lang.Object
-
- org.apereo.cas.authentication.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
-
-
Constructor Summary
Constructors Constructor Description LdapPasswordSynchronizationAuthenticationPostProcessor(org.apereo.cas.configuration.model.support.ldap.AbstractLdapSearchProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected org.ldaptive.LdapAttributegetLdapPasswordAttribute(org.apereo.cas.authentication.credential.UsernamePasswordCredential credential)Gets ldap password attribute.voidprocess(org.apereo.cas.authentication.AuthenticationBuilder builder, org.apereo.cas.authentication.AuthenticationTransaction transaction)booleansupports(org.apereo.cas.authentication.Credential credential)
-
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.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:
processin interfaceorg.apereo.cas.authentication.AuthenticationPostProcessor- Throws:
org.apereo.cas.authentication.AuthenticationException
-
supports
public boolean supports(org.apereo.cas.authentication.Credential credential)
- Specified by:
supportsin interfaceorg.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
-
-