org.apache.wicket.examples.authorization
Class RolesSession

java.lang.Object
  extended by org.apache.wicket.Session
      extended by org.apache.wicket.protocol.http.WebSession
          extended by org.apache.wicket.examples.authorization.RolesSession
All Implemented Interfaces:
java.io.Serializable, IEventSink, IClusterable

public class RolesSession
extends WebSession

Web Session for this example.

Author:
Eelco Hillenius
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME
 
Constructor Summary
RolesSession(Request request)
          Construct.
 
Method Summary
 User getUser()
          Gets user.
 void setUser(User user)
          Sets user.
 
Methods inherited from class org.apache.wicket.protocol.http.WebSession
authenticate, cleanupComponentFeedbackMessages, cleanupFeedbackMessages, get, getClientInfo, invalidate, newBrowserInfoPage
 
Methods inherited from class org.apache.wicket.Session
bind, clear, debug, detach, dirty, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isCurrentRequestValid, isSessionInvalidated, isTemporary, nextPageId, nextSequenceValue, onEvent, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolesSession

public RolesSession(Request request)
Construct.

Parameters:
request -
Method Detail

getUser

public User getUser()
Gets user.

Returns:
user

setUser

public void setUser(User user)
Sets user.

Parameters:
user - user


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.