org.apache.jetspeed.security
Interface User


public interface User

A user made of a Subject and the user Preferences.

Author:
David Le Strat

Field Summary
static String USER_INFO_PROPERTY_SET
           The default user attributes property set.
static String USER_INFO_SUBSITE
          the subsite path for a given user stored as a user attribute
 
Method Summary
 Preferences getPreferences()
          Getter for the user Preferences node, providing access to the user preferences properties.
 Subject getSubject()
          Getter for the user Subject populated with the application principals.
 Preferences getUserAttributes()
          Get the user attributes for a given user
 void setPreferences(Preferences preferences)
          Setter for the user Preferences node, providing access to the user preferences properties.
 void setSubject(Subject subject)
          Setter for the user Subject populated with the application principals.
 

Field Detail

USER_INFO_PROPERTY_SET

static final String USER_INFO_PROPERTY_SET

The default user attributes property set.

See Also:
Constant Field Values

USER_INFO_SUBSITE

static final String USER_INFO_SUBSITE
the subsite path for a given user stored as a user attribute

See Also:
Constant Field Values
Method Detail

getSubject

Subject getSubject()

Getter for the user Subject populated with the application principals.

Returns:
The Subject.

setSubject

void setSubject(Subject subject)

Setter for the user Subject populated with the application principals.

Parameters:
subject - The Subject.

getPreferences

Preferences getPreferences()

Getter for the user Preferences node, providing access to the user preferences properties.

Returns:
The Preferences.

setPreferences

void setPreferences(Preferences preferences)

Setter for the user Preferences node, providing access to the user preferences properties.

Parameters:
preferences - The Preferences.

getUserAttributes

Preferences getUserAttributes()
Get the user attributes for a given user

Returns:
a preference set of user attributes for a given user


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.