Package | Description |
---|---|
com.iplanet.dpro.session.operations.strategies | |
com.iplanet.dpro.session.service |
This package contains classes and interfaces that represent
methods to validate/update/destroy/persist/retrieve the internal session data
|
com.iplanet.dpro.session.utils | |
com.sun.identity.authentication.server |
This package contains the classes that represent server side
functionality such as the implementation of request for
authenticating, user credential callbacks.
|
com.sun.identity.authentication.service | |
org.forgerock.openam.authentication | |
org.forgerock.openam.authentication.service |
A collection of classes which support the authentication service.
|
org.forgerock.openam.authentication.service.activators | |
org.forgerock.openam.cts |
Defines the main
CTSPersistentStore interface to the Core Token Service, CRUDPAQ
operations, and configuration options. |
org.forgerock.openam.cts.adapters |
The Core Token Service depends on the ability to convert one token
type into another token type.
|
org.forgerock.openam.cts.api.tokens |
The Tokens of the Core Token Service.
|
org.forgerock.openam.session | |
org.forgerock.openam.session.service |
Defines interfaces and classes for the Session Service.
|
org.forgerock.openam.session.service.access |
Defines interfaces for handling session access.
|
org.forgerock.openam.session.service.access.persistence |
Defines interfaces for handling session persistence.
|
org.forgerock.openam.session.service.access.persistence.caching |
Defines an interface and implementations for handling session caching.
|
org.forgerock.openam.sso.providers.stateless |
Modifier and Type | Method and Description |
---|---|
void |
LocalOperations.timeout(InternalSession session,
SessionEventType eventType)
Timeout the Internal Session.
|
Modifier and Type | Method and Description |
---|---|
InternalSession |
InternalSessionEvent.getInternalSession()
Gets the session object which emitted this event.
|
InternalSession |
AuthenticationSessionStore.getSession(SessionID sessionID)
Lookup the Session based on its Session ID.
|
InternalSession |
InternalSessionFactory.newInternalSession(String domain,
boolean stateless)
Creates a new Internal Session
|
InternalSession |
SessionService.newInternalSession(String domain,
boolean stateless) |
InternalSession |
InternalSessionFactory.newInternalSession(String domain,
boolean stateless,
boolean checkCts)
Creates a new Internal Session
|
InternalSession |
SessionService.newInternalSession(String domain,
boolean stateless,
boolean checkCts) |
InternalSession |
AuthenticationSessionStore.removeSession(SessionID sessionID)
There are cases where an authentication session is created but never used.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
QuotaExhaustionActionImpl.action(InternalSession is,
Map<String,Long> existingSessions) |
boolean |
QuotaExhaustionAction.action(InternalSession is,
Map<String,Long> existingSessions)
Performs an action, when the session quota is exhausted.
|
void |
AuthenticationSessionStore.addSession(InternalSession session) |
protected boolean |
SessionConstraint.checkQuotaAndPerformAction(InternalSession internalSession)
Check if the session quota for a given user has been exhausted and
perform necessary actions in such as case.
|
Constructor and Description |
---|
InternalSessionEvent(InternalSession internalSession,
SessionEventType eventType,
long eventTime)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
SessionInfo |
SessionInfoFactory.getSessionInfo(InternalSession internalSession,
SessionID sessionID)
Generates a SessionInfo which is a summary state of the Session used to
refresh remote instances of a Session.
|
SessionInfo |
SessionInfoFactory.makeSessionInfo(InternalSession internalSession,
SessionID sid)
Generates a SessionInfo object from the given InternalSession.
|
void |
SessionInfoFactory.validateSession(InternalSession internalSession,
SessionID sid)
Validates the state of an Internal Session against a Session ID.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthXMLResponse.setOldSession(InternalSession aOldSession)
Sets previous authentication context.
|
Modifier and Type | Method and Description |
---|---|
protected InternalSession |
DefaultSessionActivator.createSession(SessionService sessionService,
LoginState loginState) |
InternalSession |
LoginState.getOldSession()
Returns old Session
|
static InternalSession |
AuthUtils.getOldSession(AuthContextLocal authContext) |
InternalSession |
LoginState.getSession()
Returns session, Returns null if session state is
INACTIVE
or DESTROYED . |
static InternalSession |
AuthUtils.getSession(AuthContextLocal authContext) |
InternalSession |
AuthD.getSession(javax.servlet.http.HttpServletRequest req)
Returns the session associated with an HTTP Servlet Request.
|
static InternalSession |
AuthD.getSession(SessionID sessionId)
Returns the session associated with a session ID.
|
static InternalSession |
AuthD.getSession(String sessId)
Returns the session associated with a session ID.
|
static InternalSession |
AuthD.newSession(String domain,
boolean stateless)
Creates a new session.
|
static InternalSession |
AuthD.newSession(String domain,
boolean stateless,
boolean checkCts)
Creates a new session.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultSessionActivator.activateSession(InternalSession session,
LoginState loginState) |
boolean |
DefaultSessionActivator.activateSession(LoginState loginState,
SessionService sessionService,
InternalSession authSession,
Subject subject) |
boolean |
SessionActivator.activateSession(LoginState loginState,
SessionService sessionService,
InternalSession authSession,
Subject subject)
Activates the given session after successful authentication, returning the an indication of whether activation
was successful.
|
static boolean |
AuthUtils.logout(InternalSession intSession,
SSOToken token,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs a logout on a given token ensuring the post auth classes are called
|
protected void |
DefaultSessionActivator.putAllPropertiesFromAuthSession(InternalSession authSession,
InternalSession sessionToUpdate) |
void |
LoginState.setOldSession(InternalSession oldSession)
Sets old Session
|
void |
LoginState.setSession(InternalSession sess)
Sets the internal session for the request.
|
protected boolean |
DefaultSessionActivator.updateSessions(InternalSession newSession,
LoginState loginState,
InternalSession sessionToActivate,
InternalSession authSession,
SessionService sessionService,
Subject subject)
newSession and sessionToActivate may be the same session -- e.g. in the default case for normal or stateless
tokens.
|
Modifier and Type | Method and Description |
---|---|
void |
Saml2SessionUpgradeHandler.handleSessionUpgrade(InternalSession oldSession,
InternalSession newSession) |
Modifier and Type | Method and Description |
---|---|
void |
SessionUpgradeHandler.handleSessionUpgrade(InternalSession oldSession,
InternalSession newSession)
Allows execution of custom logic during a session upgrade to ensure that internal data structures are properly
maintained during a session upgrade.
|
void |
SessionPropertyUpgrader.populateProperties(InternalSession oldSession,
InternalSession newSession,
boolean forceAuth)
Entry point for LoginState.
|
void |
SessionPropertyUpgrader.populatePropertiesFromStateless(StatelessSession oldSession,
InternalSession newSession)
Entry point for LoginState.
|
void |
SessionPropertyUpgrader.updateProperty(InternalSession session,
String property,
String value)
This method updates a session property in the session with the given value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ForceAuthSessionActivator.activateSession(LoginState loginState,
SessionService sessionService,
InternalSession authSession,
Subject subject) |
Modifier and Type | Method and Description |
---|---|
String |
CoreTokenConfig.getUserId(InternalSession session)
Extract the UserId from the InternalSession.
|
Modifier and Type | Method and Description |
---|---|
InternalSession |
SessionAdapter.fromToken(Token token)
Convert from a Token to an Internal Session.
|
Modifier and Type | Method and Description |
---|---|
Token |
SessionAdapter.toToken(InternalSession session)
Convert from InternalSession to a Token.
|
Modifier and Type | Method and Description |
---|---|
String |
TokenIdFactory.toSessionTokenId(InternalSession session)
Extract a suitable Id from the InternalSession to use as a Token Id.
|
Modifier and Type | Method and Description |
---|---|
String |
SessionURL.encodeInternalSessionURL(String url,
short encodingScheme,
boolean escape,
String cookieName,
InternalSession internalSession)
Encodes the url by adding the cookiename=sid to it.
|
Modifier and Type | Method and Description |
---|---|
InternalSession |
SessionAccessManager.getByRestrictedID(SessionID sessionID)
Get a restricted session from a given SessionID.
|
InternalSession |
SessionAccessManager.getInternalSession(SessionID sessionId)
Get the InternalSession based on the SessionId.
|
InternalSession |
SessionAccessManager.getInternalSessionByHandle(String sessionHandle)
Returns the Internal Session corresponding to a session handle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DestroyNextExpiringAction.action(InternalSession is,
Map<String,Long> sessions) |
boolean |
DenyAccessAction.action(InternalSession is,
Map<String,Long> sessions) |
boolean |
DestroyAllAction.action(InternalSession is,
Map<String,Long> sessions) |
boolean |
DestroyOldestAction.action(InternalSession is,
Map<String,Long> sessions) |
void |
SessionAccessManager.persistInternalSession(InternalSession session)
Persist the provided InternalSession to the backend.
|
void |
SessionAccessManager.removeInternalSession(InternalSession internalSession)
Remove an internal session from the internal session cache.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionPersistenceManager.notifyUpdate(InternalSession session)
Notify this listener of an update to a session.
|
Modifier and Type | Method and Description |
---|---|
InternalSession |
InternalSessionStore.getByHandle(String sessionHandle)
Gets a session from a given session handle.
|
InternalSession |
InternalSessionStoreChain.getByHandle(String sessionHandle) |
InternalSession |
InternalSessionPersistenceStore.getByHandle(String sessionHandle) |
InternalSession |
SessionPersistenceManagerStep.getByHandle(String sessionHandle,
InternalSessionStore next) |
InternalSession |
InternalSessionStoreStep.getByHandle(String sessionHandle,
InternalSessionStore next)
Gets a session from a given session handle.
|
InternalSession |
TimeOutSessionFilterStep.getByHandle(String sessionHandle,
InternalSessionStore next) |
InternalSession |
AbstractInternalSessionStoreStep.getByHandle(String sessionHandle,
InternalSessionStore next) |
InternalSession |
InternalSessionStore.getByRestrictedID(SessionID sessionID)
Gets a restricted session from a given SessionID.
|
InternalSession |
InternalSessionStoreChain.getByRestrictedID(SessionID sessionID) |
InternalSession |
InternalSessionPersistenceStore.getByRestrictedID(SessionID sessionID) |
InternalSession |
SessionPersistenceStore.getByRestrictedID(SessionID sessionID)
Get a restricted session from a given SessionID.
|
InternalSession |
SessionPersistenceManagerStep.getByRestrictedID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
InternalSessionStoreStep.getByRestrictedID(SessionID sessionID,
InternalSessionStore next)
Gets a restricted session from a given SessionID.
|
InternalSession |
TimeOutSessionFilterStep.getByRestrictedID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
AbstractInternalSessionStoreStep.getByRestrictedID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
InternalSessionStore.getBySessionID(SessionID sessionID)
Gets a session from a given SessionID.
|
InternalSession |
InternalSessionStoreChain.getBySessionID(SessionID sessionID) |
InternalSession |
InternalSessionPersistenceStore.getBySessionID(SessionID sessionID) |
InternalSession |
SessionPersistenceManagerStep.getBySessionID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
InternalSessionStoreStep.getBySessionID(SessionID sessionID,
InternalSessionStore next)
Gets a session from a given SessionID.
|
InternalSession |
TimeOutSessionFilterStep.getBySessionID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
AbstractInternalSessionStoreStep.getBySessionID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
SessionPersistenceStore.recoverSession(SessionID sessionID)
This will recover the specified session from the repository based on the provided session id.
|
InternalSession |
SessionPersistenceStore.recoverSessionByHandle(String sessionHandle)
This will recover the specified session from the repository based on the provided session handle.
|
Modifier and Type | Method and Description |
---|---|
Collection<InternalSession> |
SessionPersistenceStore.getValidSessions()
Returns all the valid sessions from the CTS server
|
Modifier and Type | Method and Description |
---|---|
void |
InternalSessionStore.create(InternalSession session)
Stores the InternalSession in the cache.
|
void |
InternalSessionStoreChain.create(InternalSession session) |
void |
InternalSessionPersistenceStore.create(InternalSession session) |
void |
SessionPersistenceStore.create(InternalSession session)
Persist the provided session to the CTS, or update it if it is already there.
|
void |
SessionPersistenceManagerStep.create(InternalSession session,
InternalSessionStore next) |
void |
InternalSessionStoreStep.create(InternalSession session,
InternalSessionStore next)
Stores the InternalSession in the cache.
|
void |
AbstractInternalSessionStoreStep.create(InternalSession session,
InternalSessionStore next) |
void |
SessionPersistenceManagerStep.notifyUpdate(InternalSession internalSession) |
void |
InternalSessionStore.remove(InternalSession session)
Remove the Session from the cache.
|
void |
InternalSessionStoreChain.remove(InternalSession session) |
void |
InternalSessionPersistenceStore.remove(InternalSession session) |
void |
SessionPersistenceManagerStep.remove(InternalSession session,
InternalSessionStore next) |
void |
InternalSessionStoreStep.remove(InternalSession session,
InternalSessionStore next)
Remove the Session from the cache.
|
void |
AbstractInternalSessionStoreStep.remove(InternalSession internalSession,
InternalSessionStore next) |
void |
InternalSessionStore.update(InternalSession session) |
void |
InternalSessionStoreChain.update(InternalSession session) |
void |
InternalSessionPersistenceStore.update(InternalSession session) |
void |
SessionPersistenceStore.update(InternalSession session) |
void |
SessionPersistenceManagerStep.update(InternalSession session,
InternalSessionStore next) |
void |
InternalSessionStoreStep.update(InternalSession session,
InternalSessionStore next) |
void |
AbstractInternalSessionStoreStep.update(InternalSession session,
InternalSessionStore next) |
Modifier and Type | Method and Description |
---|---|
InternalSession |
InMemoryInternalSessionCacheStep.getByHandle(String sessionHandle,
InternalSessionStore next) |
InternalSession |
InMemoryInternalSessionCacheStep.getByRestrictedID(SessionID sessionID,
InternalSessionStore next) |
InternalSession |
InMemoryInternalSessionCacheStep.getBySessionID(SessionID sessionID,
InternalSessionStore next) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryInternalSessionCacheStep.create(InternalSession session,
InternalSessionStore next) |
void |
InMemoryInternalSessionCacheStep.remove(InternalSession session,
InternalSessionStore next) |
void |
InMemoryInternalSessionCacheStep.update(InternalSession session,
InternalSessionStore next) |
Modifier and Type | Method and Description |
---|---|
StatelessSession |
StatelessSessionManager.generate(InternalSession internalSession) |
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.