org.apache.jetspeed.security.impl
Class UserImpl
java.lang.Object
org.apache.jetspeed.security.impl.UserImpl
- All Implemented Interfaces:
- org.apache.jetspeed.security.User
public class UserImpl
- extends Object
- implements org.apache.jetspeed.security.User
A user made of a Subject
and the user Preferences
.
- Author:
- David Le Strat
Fields inherited from interface org.apache.jetspeed.security.User |
USER_INFO_PROPERTY_SET, USER_INFO_SUBSITE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subject
private Subject subject
preferences
private Preferences preferences
UserImpl
public UserImpl()
Default constructor.
UserImpl
public UserImpl(Subject subject,
Preferences preferences)
User
constructor given a subject and preferences.
- Parameters:
subject
- The subject.preferences
- The preferences.
getSubject
public Subject getSubject()
- Specified by:
getSubject
in interface org.apache.jetspeed.security.User
- See Also:
User.getSubject()
setSubject
public void setSubject(Subject subject)
- Specified by:
setSubject
in interface org.apache.jetspeed.security.User
- See Also:
User.setSubject(javax.security.auth.Subject)
getPreferences
public Preferences getPreferences()
- Specified by:
getPreferences
in interface org.apache.jetspeed.security.User
- See Also:
User.getPreferences()
setPreferences
public void setPreferences(Preferences preferences)
- Specified by:
setPreferences
in interface org.apache.jetspeed.security.User
- See Also:
User.setPreferences(java.util.prefs.Preferences)
getUserAttributes
public Preferences getUserAttributes()
- Specified by:
getUserAttributes
in interface org.apache.jetspeed.security.User
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.