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, IClusterable

public class RolesSession
extends WebSession

Web Session for this example.

Author:
Eelco Hillenius
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.Session
Session.IPageMapVisitor, Session.PageMapAccessMetaData
 
Field Summary
 
Fields inherited from class org.apache.wicket.Session
PAGEMAP_ACCESS_MDK, SESSION_ATTRIBUTE_NAME
 
Constructor Summary
RolesSession(WebApplication application, 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
cleanupFeedbackMessages, isCurrentRequestValid
 
Methods inherited from class org.apache.wicket.Session
attach, bind, clear, createAutoPageMap, createAutoPageMapName, currentCreateAutoPageMapCounter, detach, dirty, error, exists, findOrCreate, findOrCreate, get, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getAutoPageMapNamePrefix, getAutoPageMapNameSuffix, getClassResolver, getClientInfo, getDefaultPageMap, getFeedbackMessages, getId, getLocale, getMetaData, getPage, getPage, getPageFactory, getPageFactory, getPageMaps, getSessionStore, getSizeInBytes, getStyle, incrementCreateAutoPageMapCounter, info, invalidate, invalidateNow, isSessionInvalidated, isTemporary, newPageMap, nextPageId, nextSequenceValue, pageMapForName, removeAttribute, removePageMap, set, setApplication, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, touch, unset, untouch, update, visitPageMaps, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolesSession

public RolesSession(WebApplication application,
                    Request request)
Construct.

Parameters:
application -
request -
response -
Method Detail

getUser

public User getUser()
Gets user.

Returns:
user

setUser

public void setUser(User user)
Sets user.

Parameters:
user - user


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.