org.jboss.portal.server.impl.user
Class UserContextImpl

java.lang.Object
  extended by org.jboss.portal.server.impl.user.UserContextImpl
All Implemented Interfaces:
java.io.Serializable, UserContext

public class UserContextImpl
extends java.lang.Object
implements UserContext, java.io.Serializable

A simple implementation.

See Also:
Serialized Form

Constructor Summary
UserContextImpl()
           
 
Method Summary
 ServerObjectContext getContext(ServerObject serverObject)
          Return the portlet object context, create a new one if necessary to avoid to return null.
 java.util.Map getInformations()
          Return the user information attributes if the user is authenticated otherwise null.
 PreferenceStore getPreferenceStore()
          Returns the preferences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserContextImpl

public UserContextImpl()
Method Detail

getContext

public ServerObjectContext getContext(ServerObject serverObject)
Description copied from interface: UserContext
Return the portlet object context, create a new one if necessary to avoid to return null.

Specified by:
getContext in interface UserContext

getPreferenceStore

public PreferenceStore getPreferenceStore()
Description copied from interface: UserContext
Returns the preferences.

Specified by:
getPreferenceStore in interface UserContext

getInformations

public java.util.Map getInformations()
Description copied from interface: UserContext
Return the user information attributes if the user is authenticated otherwise null.

Specified by:
getInformations in interface UserContext