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 TypeMethodDescriptionvoid
changePassword
(String username, String originalPassword, String newPassword) void
forgottenPassword
(String username) void
forgottenUsername
(String email) boolean
isTokenValid
(long directoryId, String username, String token) boolean
isUserActive
(long directoryId, String username) void
resetPassword
(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
-