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.apache.wicket.authentication.AuthenticatedWebSession
              extended by org.syncope.console.SyncopeSession
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable

public class SyncopeSession
extends org.apache.wicket.authentication.AuthenticatedWebSession

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
 boolean authenticate(String username, String password)
           
static SyncopeSession get()
           
 org.apache.wicket.authorization.strategies.role.Roles getRoles()
           
 SyncopeUser getUser()
           
 boolean isAuthenticated()
           
 void setUser(SyncopeUser user)
           
 
Methods inherited from class org.apache.wicket.authentication.AuthenticatedWebSession
isSignedIn, signIn, signIn, signOut
 
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()

getUser

public SyncopeUser getUser()

isAuthenticated

public boolean isAuthenticated()

setUser

public void setUser(SyncopeUser user)

authenticate

public boolean authenticate(String username,
                            String password)
Specified by:
authenticate in class org.apache.wicket.authentication.AuthenticatedWebSession

getRoles

public org.apache.wicket.authorization.strategies.role.Roles getRoles()
Specified by:
getRoles in class org.apache.wicket.authentication.AuthenticatedWebSession


Copyright © 2010. All Rights Reserved.