| Modifier | Constructor and Description |
|---|---|
protected |
JPAUser() |
|
JPAUser(String userName,
String password,
String alg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getUserName()
Return the user name of this user
|
int |
hashCode() |
boolean |
setPassword(String newPass)
Sets new password from String.
|
String |
toString() |
boolean |
verifyPassword(String pass)
Return true if pass matches password of this user.
|
public String getUserName()
UsergetUserName in interface UserUser.getUserName()public boolean setPassword(String newPass)
UsersetPassword in interface UsernewPass - the String that is the new password.User.setPassword(java.lang.String)public boolean verifyPassword(String pass)
UserverifyPassword in interface Userpass - the password to testUser.verifyPassword(java.lang.String)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.