public interface User
Modifier and Type | Method and Description |
---|---|
String |
getUserName()
Return the user name of this user
|
boolean |
setPassword(String newPass)
Sets new password from String.
|
boolean |
verifyPassword(String pass)
Return true if pass matches password of this user.
|
String getUserName()
boolean verifyPassword(String pass)
pass
- the password to testboolean setPassword(String newPass)
newPass
- the String that is the new password.Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.