public class SessionContext extends java.util.Hashtable implements IAuthInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTH_MANAGER_ID
ID of the authentication manager in the current thread.
|
static java.lang.String |
AUTH_TOKEN
Authentication token in the current thread.
|
static java.lang.String |
GROUP_ID
Group ID of the authenticated user in the current thread.
|
static java.lang.String |
IPADDRESS
IP Address of the requestor of the request in the current thread.
|
static java.lang.String |
LOCALE
End user locale of the current processing request in the current thread.
|
static java.lang.String |
RECOVERY_ID
Recovery ID of a recovery operation in KRA in the current thread.
|
static java.lang.String |
REQUESTER_ID
ID of the processing request in the current thread.
|
static java.lang.String |
USER
User object of the authenticated user in the current thread.
|
static java.lang.String |
USER_ID
User ID of the authenticated user in the current thread.
|
Constructor and Description |
---|
SessionContext()
Constructs a session context.
|
Modifier and Type | Method and Description |
---|---|
static SessionContext |
getContext()
Retrieves the session context associated with
the current thread.
|
static SessionContext |
getExistingContext()
Retrieves the session context associated with
the current thread.
|
static void |
releaseContext()
Releases the current session context.
|
static void |
setContext(SessionContext sc)
Sets the current context.
|
public static final java.lang.String LOCALE
public static final java.lang.String AUTH_TOKEN
public static final java.lang.String AUTH_MANAGER_ID
public static final java.lang.String USER
public static final java.lang.String USER_ID
public static final java.lang.String GROUP_ID
public static final java.lang.String REQUESTER_ID
public static final java.lang.String RECOVERY_ID
public static final java.lang.String IPADDRESS
public static void setContext(SessionContext sc)
sc
- session contextpublic static SessionContext getContext()
public static SessionContext getExistingContext()
public static void releaseContext()