@Named public class AccountManagementController extends Object
Constructor and Description |
---|
AccountManagementController(ApplicationFactory crowdApplicationFactory,
ApplicationService applicationService,
ForgottenLoginManager forgottenLoginManager,
AsyncForgottenLoginManager asyncForgottenLoginManager) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
@Inject public AccountManagementController(ApplicationFactory crowdApplicationFactory, ApplicationService applicationService, ForgottenLoginManager forgottenLoginManager, AsyncForgottenLoginManager asyncForgottenLoginManager)
public void changePassword(String username, String originalPassword, String newPassword) throws UserNotFoundException, InvalidCredentialException, ApplicationPermissionException, OperationFailedException, InactiveAccountException, InvalidAuthenticationException
public void resetPassword(String username, long directoryId, String password, String token) throws DirectoryPermissionException, DirectoryNotFoundException, UserNotFoundException, InvalidCredentialException, InvalidResetPasswordTokenException, OperationFailedException
public void forgottenPassword(String username)
public void forgottenUsername(String email)
public boolean isUserActive(long directoryId, String username)
Copyright © 2020 Atlassian. All rights reserved.