Class LdapPasswordManagementService

java.lang.Object
org.apereo.cas.pm.impl.BasePasswordManagementService
org.apereo.cas.pm.LdapPasswordManagementService
All Implemented Interfaces:
org.apereo.cas.pm.PasswordManagementService, org.springframework.beans.factory.DisposableBean

public class LdapPasswordManagementService extends org.apereo.cas.pm.impl.BasePasswordManagementService implements org.springframework.beans.factory.DisposableBean
Since:
5.0.0
  • Field Summary

    Fields inherited from interface org.apereo.cas.pm.PasswordManagementService

    DEFAULT_BEAN_NAME, PARAMETER_DO_CHANGE_PASSWORD, PARAMETER_PASSWORD_RESET_TOKEN, PARAMETER_TOKEN
  • Constructor Summary

    Constructors
    Constructor
    Description
    LdapPasswordManagementService(org.apereo.cas.util.crypto.CipherExecutor<Serializable,String> cipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.pm.PasswordHistoryService passwordHistoryService, Map<String,org.ldaptive.ConnectionFactory> connectionFactoryMap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    changeInternal(org.apereo.cas.pm.PasswordChangeRequest bean)
     
    void
     
    findEmail(org.apereo.cas.pm.PasswordManagementQuery query)
     
    findPhone(org.apereo.cas.pm.PasswordManagementQuery query)
     
    findUsername(org.apereo.cas.pm.PasswordManagementQuery query)
     
    getSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query)
     
    boolean
    unlockAccount(org.apereo.cas.authentication.Credential credential)
     
    void
    updateSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query)
     

    Methods inherited from class org.apereo.cas.pm.impl.BasePasswordManagementService

    change, createToken, getCasProperties, getCipherExecutor, getPasswordHistoryService, parseToken

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.pm.PasswordManagementService

    isValidSecurityQuestionAnswer
  • Constructor Details

    • LdapPasswordManagementService

      public LdapPasswordManagementService(org.apereo.cas.util.crypto.CipherExecutor<Serializable,String> cipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.pm.PasswordHistoryService passwordHistoryService, Map<String,org.ldaptive.ConnectionFactory> connectionFactoryMap)
  • Method Details

    • destroy

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

      public String findEmail(org.apereo.cas.pm.PasswordManagementQuery query)
      Specified by:
      findEmail in interface org.apereo.cas.pm.PasswordManagementService
    • findPhone

      public String findPhone(org.apereo.cas.pm.PasswordManagementQuery query)
      Specified by:
      findPhone in interface org.apereo.cas.pm.PasswordManagementService
    • findUsername

      public String findUsername(org.apereo.cas.pm.PasswordManagementQuery query)
      Specified by:
      findUsername in interface org.apereo.cas.pm.PasswordManagementService
    • updateSecurityQuestions

      public void updateSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query)
      Specified by:
      updateSecurityQuestions in interface org.apereo.cas.pm.PasswordManagementService
    • unlockAccount

      public boolean unlockAccount(org.apereo.cas.authentication.Credential credential)
      Specified by:
      unlockAccount in interface org.apereo.cas.pm.PasswordManagementService
    • getSecurityQuestions

      public Map<String,String> getSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query)
      Specified by:
      getSecurityQuestions in interface org.apereo.cas.pm.PasswordManagementService
    • changeInternal

      public boolean changeInternal(org.apereo.cas.pm.PasswordChangeRequest bean)