Class LdapPasswordSynchronizationProperties

java.lang.Object
org.apereo.cas.configuration.model.support.ldap.AbstractLdapProperties
org.apereo.cas.configuration.model.support.ldap.AbstractLdapSearchProperties
org.apereo.cas.configuration.model.core.authentication.passwordsync.LdapPasswordSynchronizationProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-ldap") public class LdapPasswordSynchronizationProperties extends AbstractLdapSearchProperties
Since:
6.1.0
See Also:
  • Constructor Details

    • LdapPasswordSynchronizationProperties

      public LdapPasswordSynchronizationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Whether or not password sync should be enabled for this ldap instance.
    • getPasswordAttribute

      public String getPasswordAttribute()
      Name of the LDAP attribute that should hold the password.
    • isPasswordSynchronizationFailureFatal

      public boolean isPasswordSynchronizationFailureFatal()
      If synchronization fails for any reason, (ie. password update fails or user account cannot be found), control whether the failure should be considered fatal.
    • setEnabled

      public LdapPasswordSynchronizationProperties setEnabled(boolean enabled)
      Whether or not password sync should be enabled for this ldap instance.
      Returns:
      this.
    • setPasswordAttribute

      public LdapPasswordSynchronizationProperties setPasswordAttribute(String passwordAttribute)
      Name of the LDAP attribute that should hold the password.
      Returns:
      this.
    • setPasswordSynchronizationFailureFatal

      public LdapPasswordSynchronizationProperties setPasswordSynchronizationFailureFatal(boolean passwordSynchronizationFailureFatal)
      If synchronization fails for any reason, (ie. password update fails or user account cannot be found), control whether the failure should be considered fatal.
      Returns:
      this.