|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
org.apache.wicket.authentication.AuthenticatedWebSession
com.alogient.cameleon.extension.wicket.AbstractCameleonSession
public abstract class AbstractCameleonSession
Our custom web session implementation. This session is abstract because you need to specify a custom spring Authentication class used to authenticate a user.
| 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 | |
|---|---|
AbstractCameleonSession(org.apache.wicket.Request request)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
authenticate(String username,
String password)
|
static AbstractCameleonSession |
get()
|
com.alogient.cameleon.sdk.membership.vo.AuthenticationVo |
getAuthenticationVo()
|
com.alogient.cameleon.sdk.content.vo.CultureVo |
getCultureVo()
Deprecated. |
com.alogient.cameleon.sdk.content.vo.menu.MenuVo |
getCurrentMenu()
Deprecated. |
abstract org.springframework.security.core.Authentication |
getCustomAuthentication(String username,
String password)
Called when you want to use a custom authentication. |
com.alogient.cameleon.sdk.content.util.nav.ModeType |
getModeType()
Deprecated. |
org.apache.wicket.authorization.strategies.role.Roles |
getRoles()
|
protected void |
init()
Initialize. |
void |
signOut()
|
| Methods inherited from class org.apache.wicket.authentication.AuthenticatedWebSession |
|---|
isSignedIn, signIn, signIn |
| 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 |
|---|
public AbstractCameleonSession(org.apache.wicket.Request request)
RequestCycle is not available until this constructor returns.
request - The current request| Method Detail |
|---|
protected void init()
public com.alogient.cameleon.sdk.membership.vo.AuthenticationVo getAuthenticationVo()
public boolean authenticate(String username,
String password)
authenticate in class org.apache.wicket.authentication.AuthenticatedWebSessionpublic void signOut()
signOut in class org.apache.wicket.authentication.AuthenticatedWebSession
public abstract org.springframework.security.core.Authentication getCustomAuthentication(String username,
String password)
username - the usernamepassword - the password
public org.apache.wicket.authorization.strategies.role.Roles getRoles()
getRoles in class org.apache.wicket.authentication.AuthenticatedWebSessionpublic static AbstractCameleonSession get()
@Deprecated public com.alogient.cameleon.sdk.content.vo.menu.MenuVo getCurrentMenu()
@Deprecated public com.alogient.cameleon.sdk.content.util.nav.ModeType getModeType()
@Deprecated public com.alogient.cameleon.sdk.content.vo.CultureVo getCultureVo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||