Interface User
-
- All Superinterfaces:
SecurityEntity
,Serializable
- All Known Subinterfaces:
BasicUser
,DynamicUser
,ExtendedUser
,TurbineUser
- All Known Implementing Classes:
BaseTorqueBasicUser
,BaseTorqueDynamicUser
,BasicUserImpl
,DynamicUserImpl
,TorqueAbstractBasicUser
,TorqueAbstractDynamicUser
,TorqueBasicUser
,TorqueDynamicUser
,TorqueTurbineUser
,TurbineUser
,TurbineUserImpl
public interface User extends Serializable, SecurityEntity
This interface represents the basic functionality of a user.- Version:
- $Id$
- Author:
- Eric Pugh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPassword()
Returns the user's password.void
setPassword(String password)
Set password.-
Methods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
-
-
-
Method Detail
-
getPassword
String getPassword()
Returns the user's password. This method should not be used by the application directly, because it's meaning depends upon the implementation of UserManager that manages this particular user object. Some implementations will use this attribute for storing a password encrypted in some way, other will not use it at all, when user entered password is presented to some external authority (like NT domain controller) to validate it. See alsoUserManager.authenticate(User,String)
.- Returns:
- A String with the password for the user.
-
setPassword
void setPassword(String password)
Set password. Application should not use this method directly, seegetPassword()
. See alsoUserManager.changePassword(User,String,String)
.- Parameters:
password
- The new password.
-
-