FileDocCategorySizeDatePackage
User.javaAPI DocApache James 2.3.11962Fri Jan 12 12:56:26 GMT 2007org.apache.james.services

User

public interface User
Interface for objects representing users.
version
$Revision: 494012 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetUserName()
Return the user name of this user

return
the user name for this user

public booleansetPassword(java.lang.String newPass)
Sets new password from String. No checks made on guessability of password.

param
newPass the String that is the new password.
return
true if newPass successfully added

public booleanverifyPassword(java.lang.String pass)
Return true if pass matches password of this user.

param
pass the password to test
return
whether the password being tested is valid