public class SessionManagerImpl extends SessionManager
SessionManagerSESSION_THRESHOLD, TIMEOUT_INTERVAL| Constructor and Description |
|---|
SessionManagerImpl(com.sun.xml.ws.api.server.WSEndpoint endpoint,
boolean isSC)
Creates a new instance of SessionManagerImpl
|
SessionManagerImpl(com.sun.xml.ws.api.server.WSEndpoint endpoint,
boolean isSC,
Properties config)
Creates a new instance of SessionManagerImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSecurityContext(String key,
IssuedTokenContext itctx)
Add the SecurityContext with key in local cache
|
Session |
createSession(String key)
Creates a Session with the given key, using an instance of
synchronized java.util.Map
|
Session |
createSession(String key,
Class clasz)
Creates a Session with the given key, using a new instance
of the specified Class as a holder for user-defined data.
|
Session |
createSession(String key,
Object obj)
Creates a Session with the given key, using the specified Object
as a holder for user-defined data.
|
Session |
createSession(String key,
SecurityContextTokenInfo sctInfo) |
IssuedTokenContext |
getSecurityContext(String key,
boolean checkExpiry)
Return the valid SecurityContext for matching key
|
Session |
getSession(String key)
Returns an existing session identified by the Key else null
|
Set<String> |
keys()
Returns the Set of valid Session keys.
|
void |
saveSession(String key)
Does nothing in this implementation.
|
protected Collection<Session> |
sessions() |
void |
terminateSession(String key)
Removed the Session with the given key.
|
getConfig, getSessionManager, getSessionManager, removeSessionManager, setConfigisRegisteredAtMOM, setRegisteredAtMOMpublic SessionManagerImpl(com.sun.xml.ws.api.server.WSEndpoint endpoint,
boolean isSC)
public SessionManagerImpl(com.sun.xml.ws.api.server.WSEndpoint endpoint,
boolean isSC,
Properties config)
public Session getSession(String key)
getSession in class SessionManagerkey - The Session key.public Set<String> keys()
keys in class SessionManagerprotected Collection<Session> sessions()
sessions in class SessionManagerpublic void terminateSession(String key)
terminateSession in class SessionManagerkey - The key of the Session to be removed.public Session createSession(String key, Class clasz)
createSession in class SessionManagerkey - The Session key to be used.public Session createSession(String key, Object obj)
createSession in class SessionManagerkey - The Session key to be used.obj - The object to use as a holder for user data in the session.public Session createSession(String key, SecurityContextTokenInfo sctInfo)
createSession in class SessionManagerpublic Session createSession(String key)
createSession in class SessionManagerkey - The Session key to be used.public void saveSession(String key)
saveSession in class SessionManagerkey - The key of the session to be savedpublic IssuedTokenContext getSecurityContext(String key, boolean checkExpiry)
getSecurityContext in class SessionManagerkey - The key of the security context to be lookedpublic void addSecurityContext(String key, IssuedTokenContext itctx)
addSecurityContext in class SessionManagerkey - The key of the security context to be storeditctx - The IssuedTokenContext to be storedCopyright © 2005–2018 Oracle Corporation. All rights reserved.