public class ForgottenLoginManagerImpl extends Object implements ForgottenLoginManager
Constructor and Description |
---|
ForgottenLoginManagerImpl(CrowdClient crowdClient) |
Modifier and Type | Method and Description |
---|---|
void |
sendResetLink(String username)
Sends a reset link to the first user with the matching username from all the active directories assigned
to the application.
|
void |
sendUsernames(String email)
Sends the usernames associated with the given email address.
|
public ForgottenLoginManagerImpl(CrowdClient crowdClient)
public void sendResetLink(String username) throws UserNotFoundException, InvalidEmailAddressException
ForgottenLoginManager
sendResetLink
in interface ForgottenLoginManager
username
- username of the user to send the password reset linkUserNotFoundException
- if no user with the supplied username existsInvalidEmailAddressException
- if the user does not have a valid email address to send the password reset email topublic void sendUsernames(String email) throws InvalidEmailAddressException
ForgottenLoginManager
email
.sendUsernames
in interface ForgottenLoginManager
email
- email address of the userInvalidEmailAddressException
- if the email
is not validCopyright © 2021 Atlassian. All rights reserved.