|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
com.netscape.certsrv.base.SessionContext
public class SessionContext
This class specifies the context object that includes authentication environment and connection information. This object is later used in access control evaluation. This is a global object that can be accessible throughout the server. It is useful for passing global and per-thread infomration in methods.
Field Summary | |
---|---|
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 Summary | |
---|---|
SessionContext()
Constructs a session context. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public SessionContext()
Method Detail |
---|
public static void setContext(SessionContext sc)
sc
- session contextpublic static SessionContext getContext()
public static SessionContext getExistingContext()
public static void releaseContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |