com.atlassian.crowd.openid.server.manager.login
Class ForgottenLoginManagerImpl

java.lang.Object
  extended by com.atlassian.crowd.openid.server.manager.login.ForgottenLoginManagerImpl
All Implemented Interfaces:
ForgottenLoginManager

public class ForgottenLoginManagerImpl
extends Object
implements ForgottenLoginManager


Constructor Summary
ForgottenLoginManagerImpl()
           
 
Method Summary
 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.
 void setCrowdClient(CrowdClient crowdClient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForgottenLoginManagerImpl

public ForgottenLoginManagerImpl()
Method Detail

sendResetLink

public void sendResetLink(String username)
                   throws UserNotFoundException,
                          InvalidEmailAddressException
Description copied from interface: ForgottenLoginManager
Sends a reset link to the first user with the matching username from all the active directories assigned to the application.

Specified by:
sendResetLink in interface ForgottenLoginManager
Parameters:
username - username of the user to send the password reset link
Throws:
UserNotFoundException - if no user with the supplied username exists
InvalidEmailAddressException - if the user does not have a valid email address to send the password reset email to

sendUsernames

public void sendUsernames(String email)
                   throws InvalidEmailAddressException
Description copied from interface: ForgottenLoginManager
Sends the usernames associated with the given email address. No email will be sent if there are no usernames associated with a given email.

Specified by:
sendUsernames in interface ForgottenLoginManager
Parameters:
email - email address of the user
Throws:
InvalidEmailAddressException - if the email is not valid

setCrowdClient

public void setCrowdClient(CrowdClient crowdClient)


Copyright © 2013 Atlassian. All Rights Reserved.