Class AccountManagementController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.account.AccountManagementController
-
Constructor Summary
ConstructorsConstructorDescriptionAccountManagementController(ApplicationFactory crowdApplicationFactory, ApplicationService applicationService, ForgottenLoginManager forgottenLoginManager, AsyncForgottenLoginManager asyncForgottenLoginManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidchangePassword(String username, String originalPassword, String newPassword) voidforgottenPassword(String username) voidforgottenUsername(String email) booleanisTokenValid(long directoryId, String username, String token) booleanisUserActive(long directoryId, String username) voidresetPassword(String username, long directoryId, String password, String token)
-
Constructor Details
-
AccountManagementController
@Inject public AccountManagementController(ApplicationFactory crowdApplicationFactory, ApplicationService applicationService, ForgottenLoginManager forgottenLoginManager, AsyncForgottenLoginManager asyncForgottenLoginManager)
-
-
Method Details
-
changePassword
public void changePassword(String username, String originalPassword, String newPassword) throws UserNotFoundException, InvalidCredentialException, ApplicationPermissionException, OperationFailedException, InactiveAccountException, InvalidAuthenticationException -
resetPassword
public void resetPassword(String username, long directoryId, String password, String token) throws DirectoryPermissionException, DirectoryNotFoundException, UserNotFoundException, InvalidCredentialException, InvalidResetPasswordTokenException, OperationFailedException -
forgottenPassword
-
forgottenUsername
-
isTokenValid
-
isUserActive
-