public abstract static class SessionManager.Listener extends DestroyableBase implements Plugin
Plugin.InfoRepoDestroyable.Utillogger| Constructor and Description |
|---|
Listener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onSessionDissolve()
Called before a session is about to be written to a cookie
|
void |
register() |
void |
sessionResolved(org.osgl.http.H.Session session,
ActionContext context)
Called once a session object has been resolved from session cookie of the incoming request
|
addSubResource, destroy, isDestroyed, releaseResources, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnpublic void sessionResolved(org.osgl.http.H.Session session,
ActionContext context)
Called once a session object has been resolved from session cookie of the incoming request
Plugin use this hook to implement specific logic, e.g. grab username from session to initialize authentication
session - the session object resolved from cookiepublic void onSessionDissolve()
Called before a session is about to be written to a cookie
Plugin use this hook to release resources associated with the computational context
Copyright © 2014–2017 ActFramework. All rights reserved.