com.atlassian.crowd.embedded.api
Class ValidatePasswordRequest
java.lang.Object
com.atlassian.crowd.embedded.api.ValidatePasswordRequest
public final class ValidatePasswordRequest
- extends Object
Password validation request.
ValidatePasswordRequest
public ValidatePasswordRequest(PasswordCredential password,
User user)
- Creates a new ValidateRequest.
- Parameters:
password - the (unencrypted) password to validateuser - the User for whom to validate the password
- Throws:
NullPointerException - if password or user is null
IllegalArgumentException - if password is encrypted
getPassword
public PasswordCredential getPassword()
- Returns:
- the (unencrypted) password to validate
getUser
public User getUser()
- Returns:
- the User for whom to validate a password
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2016 Atlassian. All Rights Reserved.