public class SyncopeEnduserSession extends WebSession
clientInfo, SESSION_ATTRIBUTE_NAME
Constructor and Description |
---|
SyncopeEnduserSession(Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String jwt) |
boolean |
authenticate(String username,
String password) |
static SyncopeEnduserSession |
get() |
CookieUtils |
getCookieUtils() |
List<PlainSchemaTO> |
getDatePlainSchemas() |
PlatformInfo |
getPlatformInfo() |
UserTO |
getSelfTO() |
<T> T |
getService(Class<T> serviceClass) |
<T> T |
getService(String etag,
Class<T> serviceClass) |
void |
invalidate() |
boolean |
isAuthenticated() |
boolean |
isXsrfTokenGenerated() |
void |
setXsrfTokenGenerated(boolean xsrfTokenGenerated) |
generateNewSessionId, getClientInfo, newBrowserInfoPage
bind, changeSessionId, clear, debug, detach, dirty, dirty, endRequest, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isSessionInvalidated, isTemporary, newPageAccessSynchronizer, nextPageId, nextSequenceValue, onEvent, onInvalidate, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warn
public SyncopeEnduserSession(Request request)
public static SyncopeEnduserSession get()
public boolean authenticate(String jwt)
public void invalidate()
invalidate
in class WebSession
public <T> T getService(Class<T> serviceClass)
public PlatformInfo getPlatformInfo()
public List<PlainSchemaTO> getDatePlainSchemas()
public UserTO getSelfTO()
public boolean isAuthenticated()
public CookieUtils getCookieUtils()
public boolean isXsrfTokenGenerated()
public void setXsrfTokenGenerated(boolean xsrfTokenGenerated)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.