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.event.IEventSink, org.apache.wicket.IClusterable

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

Custom Syncope Session class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME
 
Constructor Summary
SyncopeSession(org.apache.wicket.request.Request request)
           
 
Method Summary
static SyncopeSession get()
           
 String getCoreVersion()
           
 SimpleDateFormat getDateFormat()
           
 org.apache.wicket.authroles.authorization.strategies.role.Roles getEntitlements()
           
 String getUserId()
           
 boolean hasAnyRole(org.apache.wicket.authroles.authorization.strategies.role.Roles roles)
           
 boolean isAuthenticated()
           
 void setCoreVersion(String coreVersion)
           
 void setEntitlements(String[] entitlements)
           
 void setUserId(String userId)
           
 
Methods inherited from class org.apache.wicket.protocol.http.WebSession
authenticate, cleanupComponentFeedbackMessages, cleanupFeedbackMessages, 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

SyncopeSession

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

get

public static SyncopeSession get()

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

getCoreVersion

public String getCoreVersion()

setCoreVersion

public void setCoreVersion(String coreVersion)

setEntitlements

public void setEntitlements(String[] entitlements)

getEntitlements

public org.apache.wicket.authroles.authorization.strategies.role.Roles getEntitlements()

isAuthenticated

public boolean isAuthenticated()

hasAnyRole

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

getDateFormat

public SimpleDateFormat getDateFormat()


Copyright © 2011. All Rights Reserved.