org.apache.james.services
Interface User
- All Known Subinterfaces:
- JamesUser
- All Known Implementing Classes:
- DefaultUser
- public interface User
Interface for objects representing users.
- Author:
- Charles Benett
Last changed by: $Author: donaldp $ on $Date: 2001/09/19 11:32:36 $
$Revision: 1.2 $
Method Summary |
java.lang.String |
getUserName()
Return the user name of this user |
boolean |
setPassword(java.lang.String newPass)
Sets new password from String. |
boolean |
verifyPassword(java.lang.String pass)
Return true if pass matches password of this user. |
getUserName
public java.lang.String getUserName()
- Return the user name of this user
verifyPassword
public boolean verifyPassword(java.lang.String pass)
- Return true if pass matches password of this user.
setPassword
public boolean setPassword(java.lang.String newPass)
- Sets new password from String. No checks made on guessability of
password.
- Parameters:
newPass
- the String that is the new password.
"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."