Schnittstelle User
- Alle Superschnittstellen:
SecurityEntity
,Serializable
- Alle bekannten Unterschnittstellen:
BasicUser
,DynamicUser
,ExtendedUser
,TurbineUser
- Alle bekannten Implementierungsklassen:
BasicUserImpl
,DynamicUserImpl
,TurbineUserImpl
This interface represents the basic functionality of a user.
- Version:
- $Id$
- Autor:
- Eric Pugh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the user's password.void
setPassword
(String password) Set password.Von Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Methodendetails
-
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)
.- Gibt zurück:
- A String with the password for the user.
-
setPassword
Set password. Application should not use this method directly, seegetPassword()
. See alsoUserManager.changePassword(User,String,String)
.- Parameter:
password
- The new password.
-