Class IgnitionSession
java.lang.Object
org.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
com.inductiveautomation.ignition.gateway.web.IgnitionSession
- All Implemented Interfaces:
- Serializable,- org.apache.wicket.event.IEventSink,- org.apache.wicket.util.io.IClusterable
public class IgnitionSession
extends org.apache.wicket.protocol.http.WebSession
- See Also:
- 
Field SummaryFields inherited from class org.apache.wicket.SessionclientInfo, SESSION_ATTRIBUTE_NAME
- 
Constructor SummaryConstructorsConstructorDescriptionIgnitionSession(org.apache.wicket.request.Request request, GatewayContext gatewayContext, WebAuthUserContext user) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidstatic IgnitionSessionget()getUser()voidbooleanisAdmin()Returns true if this web session is logged in and should have access to the administrative portions of the gateway.booleanReturns true if this web session has logged in.booleanvoidsetCurrentLocation(NavLocation currentLocation) voidsetProgressListener(ProgressListener progressListener) voidsetUser(WebAuthUserContext user) voidsetUser(WebAuthUserContext user, boolean invalidate) voidvoidtouch()voidMethods inherited from class org.apache.wicket.protocol.http.WebSessiongetClientInfo, invalidate, newBrowserInfoPageMethods inherited from class org.apache.wicket.Sessionbind, cleanupFeedbackMessages, clear, debug, detach, dirty, dirty, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isCurrentRequestValid, isSessionInvalidated, isTemporary, newPageAccessSynchronizer, nextPageId, nextSequenceValue, onEvent, onInvalidate, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warn
- 
Constructor Details- 
IgnitionSessionpublic IgnitionSession(org.apache.wicket.request.Request request, GatewayContext gatewayContext, WebAuthUserContext user) 
 
- 
- 
Method Details- 
isSessionActivepublic boolean isSessionActive()
- 
touchpublic void touch()
- 
get
- 
clearConsoleWriterpublic void clearConsoleWriter()
- 
getConsoleWriter
- 
getUser
- 
setUser
- 
setUser
- 
isLoggedInpublic boolean isLoggedIn()Returns true if this web session has logged in. Doesn't say anything about what roles or access the logged in user should have
- 
isAdminpublic boolean isAdmin()Returns true if this web session is logged in and should have access to the administrative portions of the gateway.
- 
debug
- 
info
- 
success
- 
warn
- 
fatal
- 
error
- 
error
- 
formatThrowable
- 
getCurrentLocation
- 
getProgressListener
- 
setProgressListener
 
-