Package org.apereo.cas.pm.rest
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
This is
RestPasswordManagementService.- 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
ConstructorsConstructorDescriptionRestPasswordManagementService(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 TypeMethodDescriptionbooleanchangeInternal(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) booleanunlockAccount(org.apereo.cas.authentication.Credential credential) voidupdateSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query) Methods inherited from class org.apereo.cas.pm.impl.BasePasswordManagementService
change, createToken, getCasProperties, getCipherExecutor, getPasswordHistoryService, parseTokenMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
findEmail
-
findPhone
-
getSecurityQuestions
-
updateSecurityQuestions
public void updateSecurityQuestions(org.apereo.cas.pm.PasswordManagementQuery query) -
unlockAccount
public boolean unlockAccount(org.apereo.cas.authentication.Credential credential)
-