Interface User

All Superinterfaces:
SecurityEntity, Serializable
All Known Subinterfaces:
BasicUser, DynamicUser, ExtendedUser, TurbineUser
All Known Implementing Classes:
BasicUserImpl, DynamicUserImpl, TurbineUserImpl

public interface User extends Serializable, SecurityEntity
This interface represents the basic functionality of a user.
Version:
$Id$
Author:
Eric Pugh
  • Method Details

    • 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 also UserManager.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, see getPassword(). See also UserManager.changePassword(User,String,String) .
      Parameters:
      password - The new password.