org.syncope.console
Class SyncopeSession

java.lang.Object
  extended by org.apache.wicket.Session
      extended by org.apache.wicket.protocol.http.WebSession
          extended by org.syncope.console.SyncopeSession
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable

public class SyncopeSession
extends org.apache.wicket.protocol.http.WebSession

Custom Syncope Session class.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.Session
org.apache.wicket.Session.IPageMapVisitor, org.apache.wicket.Session.PageMapAccessMetaData
 
Field Summary
 
Fields inherited from class org.apache.wicket.Session
PAGEMAP_ACCESS_MDK, SESSION_ATTRIBUTE_NAME
 
Constructor Summary
SyncopeSession(org.apache.wicket.Request request)
           
 
Method Summary
static SyncopeSession get()
           
 String getUserId()
           
 boolean hasAnyRole(org.apache.wicket.authorization.strategies.role.Roles roles)
           
 boolean isAuthenticated()
           
 void setEntitlements(String[] entitlements)
           
 void setUserId(String userId)
           
 
Methods inherited from class org.apache.wicket.protocol.http.WebSession
cleanupComponentFeedbackMessages, cleanupFeedbackMessages, isCurrentRequestValid
 
Methods inherited from class org.apache.wicket.Session
attach, bind, clear, createAutoPageMap, createAutoPageMapName, currentCreateAutoPageMapCounter, detach, dirty, error, exists, findOrCreate, findOrCreate, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getAutoPageMapNamePrefix, getAutoPageMapNameSuffix, getClassResolver, getClientInfo, getDefaultPageMap, getFeedbackMessages, getId, getLocale, getMetaData, getPage, getPage, getPageFactory, getPageMaps, getSessionStore, getSizeInBytes, getStyle, incrementCreateAutoPageMapCounter, info, invalidate, invalidateNow, isSessionInvalidated, isTemporary, newPageMap, nextPageId, nextSequenceValue, pageMapForName, removeAttribute, removePageMap, replaceSession, 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

SyncopeSession

public SyncopeSession(org.apache.wicket.Request request)
Method Detail

get

public static SyncopeSession get()

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

setEntitlements

public void setEntitlements(String[] entitlements)

isAuthenticated

public boolean isAuthenticated()

hasAnyRole

public boolean hasAnyRole(org.apache.wicket.authorization.strategies.role.Roles roles)


Copyright © 2011. All Rights Reserved.