Class RestPasswordManagementService

java.lang.Object
org.apereo.cas.pm.impl.BasePasswordManagementService
org.apereo.cas.pm.rest.RestPasswordManagementService
All Implemented Interfaces:
org.apereo.cas.pm.PasswordManagementService

public class RestPasswordManagementService extends org.apereo.cas.pm.impl.BasePasswordManagementService
Since:
5.1.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
    RestPasswordManagementService(org.apereo.cas.util.crypto.CipherExecutor<Serializable,String> cipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.web.client.RestTemplate restTemplate, org.apereo.cas.pm.PasswordHistoryService passwordHistoryService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    changeInternal(org.apereo.cas.pm.PasswordChangeRequest bean)
     
    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

    • RestPasswordManagementService

      public RestPasswordManagementService(org.apereo.cas.util.crypto.CipherExecutor<Serializable,String> cipherExecutor, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.web.client.RestTemplate restTemplate, org.apereo.cas.pm.PasswordHistoryService passwordHistoryService)
  • Method Details

    • changeInternal

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

      public String findUsername(org.apereo.cas.pm.PasswordManagementQuery query)
    • findEmail

      public String findEmail(org.apereo.cas.pm.PasswordManagementQuery query)
    • findPhone

      public String findPhone(org.apereo.cas.pm.PasswordManagementQuery query)
    • getSecurityQuestions

      public Map<String,String> getSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query)
    • updateSecurityQuestions

      public void updateSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query)
    • unlockAccount

      public boolean unlockAccount(org.apereo.cas.authentication.Credential credential)