Uses of Class
com.iplanet.dpro.session.service.InternalSession
-
Packages that use InternalSession 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 datacom.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 mainCTSPersistentStoreinterface 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 -
-
Uses of InternalSession in com.iplanet.dpro.session.operations.strategies
Methods in com.iplanet.dpro.session.operations.strategies with parameters of type InternalSession Modifier and Type Method Description voidLocalOperations. timeout(InternalSession session, SessionEventType eventType)Timeout the Internal Session. -
Uses of InternalSession in com.iplanet.dpro.session.service
Methods in com.iplanet.dpro.session.service that return InternalSession Modifier and Type Method Description InternalSessionInternalSessionEvent. getInternalSession()Gets the session object which emitted this event.InternalSessionAuthenticationSessionStore. getSession(SessionID sessionID)Lookup the Session based on its Session ID.InternalSessionInternalSessionFactory. newInternalSession(String domain, boolean stateless)Creates a new Internal SessionInternalSessionInternalSessionFactory. newInternalSession(String domain, boolean stateless, boolean checkCts)Creates a new Internal SessionInternalSessionSessionService. newInternalSession(String domain, boolean stateless)InternalSessionSessionService. newInternalSession(String domain, boolean stateless, boolean checkCts)InternalSessionAuthenticationSessionStore. removeSession(SessionID sessionID)There are cases where an authentication session is created but never used.Methods in com.iplanet.dpro.session.service with parameters of type InternalSession Modifier and Type Method Description booleanQuotaExhaustionAction. action(InternalSession is, Map<String,Long> existingSessions)Performs an action, when the session quota is exhausted.abstract booleanQuotaExhaustionActionImpl. action(InternalSession is, Map<String,Long> existingSessions)voidAuthenticationSessionStore. addSession(InternalSession session)protected booleanSessionConstraint. checkQuotaAndPerformAction(InternalSession internalSession)Check if the session quota for a given user has been exhausted and perform necessary actions in such as case.Constructors in com.iplanet.dpro.session.service with parameters of type InternalSession Constructor Description InternalSessionEvent(InternalSession internalSession, SessionEventType eventType, long eventTime)Creates a new event. -
Uses of InternalSession in com.iplanet.dpro.session.utils
Methods in com.iplanet.dpro.session.utils with parameters of type InternalSession Modifier and Type Method Description SessionInfoSessionInfoFactory. getSessionInfo(InternalSession internalSession, SessionID sessionID)Generates a SessionInfo which is a summary state of the Session used to refresh remote instances of a Session.SessionInfoSessionInfoFactory. makeSessionInfo(InternalSession internalSession, SessionID sid)Generates a SessionInfo object from the given InternalSession.voidSessionInfoFactory. validateSession(InternalSession internalSession, SessionID sid)Validates the state of an Internal Session against a Session ID. -
Uses of InternalSession in com.sun.identity.authentication.server
Methods in com.sun.identity.authentication.server with parameters of type InternalSession Modifier and Type Method Description voidAuthXMLResponse. setOldSession(InternalSession aOldSession)Sets previous authentication context. -
Uses of InternalSession in com.sun.identity.authentication.service
Methods in com.sun.identity.authentication.service that return InternalSession Modifier and Type Method Description protected InternalSessionDefaultSessionActivator. createSession(SessionService sessionService, LoginState loginState)static InternalSessionAuthUtils. getOldSession(AuthContextLocal authContext)InternalSessionLoginState. getOldSession()Returns old Sessionstatic InternalSessionAuthD. getSession(SessionID sessionId)Returns the session associated with a session ID.InternalSessionAuthD. getSession(jakarta.servlet.http.HttpServletRequest req)Returns the session associated with an HTTP Servlet Request.static InternalSessionAuthD. getSession(String sessId)Returns the session associated with a session ID.static InternalSessionAuthUtils. getSession(AuthContextLocal authContext)InternalSessionLoginState. getSession()Returns session, Returns null if session state isINACTIVEorDESTROYED.static InternalSessionAuthD. newSession(String domain, boolean stateless)Creates a new session.static InternalSessionAuthD. newSession(String domain, boolean stateless, boolean checkCts)Creates a new session.Methods in com.sun.identity.authentication.service with parameters of type InternalSession Modifier and Type Method Description protected booleanDefaultSessionActivator. activateSession(InternalSession session, LoginState loginState)booleanDefaultSessionActivator. activateSession(LoginState loginState, SessionService sessionService, InternalSession authSession, Subject subject)booleanSessionActivator. 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 booleanAuthUtils. logout(InternalSession intSession, SSOToken token, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Performs a logout on a given token ensuring the post auth classes are calledprotected voidDefaultSessionActivator. putAllPropertiesFromAuthSession(InternalSession authSession, InternalSession sessionToUpdate)voidLoginState. setOldSession(InternalSession oldSession)Sets old SessionvoidLoginState. setSession(InternalSession sess)Sets the internal session for the request.protected booleanDefaultSessionActivator. 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. -
Uses of InternalSession in org.forgerock.openam.authentication
Methods in org.forgerock.openam.authentication with parameters of type InternalSession Modifier and Type Method Description voidSaml2SessionUpgradeHandler. handleSessionUpgrade(InternalSession oldSession, InternalSession newSession) -
Uses of InternalSession in org.forgerock.openam.authentication.service
Methods in org.forgerock.openam.authentication.service with parameters of type InternalSession Modifier and Type Method Description voidSessionUpgradeHandler. 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.voidSessionPropertyUpgrader. populateProperties(InternalSession oldSession, InternalSession newSession, boolean forceAuth)Entry point for LoginState.voidSessionPropertyUpgrader. populatePropertiesFromStateless(StatelessSession oldSession, InternalSession newSession)Entry point for LoginState.voidSessionPropertyUpgrader. updateProperty(InternalSession session, String property, String value)This method updates a session property in the session with the given value. -
Uses of InternalSession in org.forgerock.openam.authentication.service.activators
Methods in org.forgerock.openam.authentication.service.activators with parameters of type InternalSession Modifier and Type Method Description booleanForceAuthSessionActivator. activateSession(LoginState loginState, SessionService sessionService, InternalSession authSession, Subject subject) -
Uses of InternalSession in org.forgerock.openam.cts
Methods in org.forgerock.openam.cts with parameters of type InternalSession Modifier and Type Method Description StringCoreTokenConfig. getUserId(InternalSession session)Extract the UserId from the InternalSession. -
Uses of InternalSession in org.forgerock.openam.cts.adapters
Methods in org.forgerock.openam.cts.adapters that return InternalSession Modifier and Type Method Description InternalSessionSessionAdapter. fromToken(Token token)Convert from a Token to an Internal Session.Methods in org.forgerock.openam.cts.adapters with parameters of type InternalSession Modifier and Type Method Description TokenSessionAdapter. toToken(InternalSession session)Convert from InternalSession to a Token. -
Uses of InternalSession in org.forgerock.openam.cts.api.tokens
Methods in org.forgerock.openam.cts.api.tokens with parameters of type InternalSession Modifier and Type Method Description StringTokenIdFactory. toSessionTokenId(InternalSession session)Extract a suitable Id from the InternalSession to use as a Token Id. -
Uses of InternalSession in org.forgerock.openam.session
Methods in org.forgerock.openam.session with parameters of type InternalSession Modifier and Type Method Description StringSessionURL. encodeInternalSessionURL(String url, short encodingScheme, boolean escape, String cookieName, InternalSession internalSession)Encodes the url by adding the cookiename=sid to it. -
Uses of InternalSession in org.forgerock.openam.session.service
Methods in org.forgerock.openam.session.service that return InternalSession Modifier and Type Method Description InternalSessionSessionAccessManager. getByRestrictedID(SessionID sessionID)Get a restricted session from a given SessionID.InternalSessionSessionAccessManager. getInternalSession(SessionID sessionId)Get the InternalSession based on the SessionId.InternalSessionSessionAccessManager. getInternalSessionByHandle(String sessionHandle)Returns the Internal Session corresponding to a session handle.Methods in org.forgerock.openam.session.service with parameters of type InternalSession Modifier and Type Method Description booleanDenyAccessAction. action(InternalSession is, Map<String,Long> sessions)booleanDestroyAllAction. action(InternalSession is, Map<String,Long> sessions)booleanDestroyNextExpiringAction. action(InternalSession is, Map<String,Long> sessions)booleanDestroyOldestAction. action(InternalSession is, Map<String,Long> sessions)voidSessionAccessManager. persistInternalSession(InternalSession session)Persist the provided InternalSession to the backend.voidSessionAccessManager. removeInternalSession(InternalSession internalSession)Remove an internal session from the internal session cache. -
Uses of InternalSession in org.forgerock.openam.session.service.access
Methods in org.forgerock.openam.session.service.access with parameters of type InternalSession Modifier and Type Method Description voidSessionPersistenceManager. notifyUpdate(InternalSession session)Notify this listener of an update to a session. -
Uses of InternalSession in org.forgerock.openam.session.service.access.persistence
Methods in org.forgerock.openam.session.service.access.persistence that return InternalSession Modifier and Type Method Description InternalSessionAbstractInternalSessionStoreStep. getByHandle(String sessionHandle, InternalSessionStore next)InternalSessionInternalSessionPersistenceStore. getByHandle(String sessionHandle)InternalSessionInternalSessionStore. getByHandle(String sessionHandle)Gets a session from a given session handle.InternalSessionInternalSessionStoreChain. getByHandle(String sessionHandle)InternalSessionInternalSessionStoreStep. getByHandle(String sessionHandle, InternalSessionStore next)Gets a session from a given session handle.InternalSessionSessionPersistenceManagerStep. getByHandle(String sessionHandle, InternalSessionStore next)InternalSessionTimeOutSessionFilterStep. getByHandle(String sessionHandle, InternalSessionStore next)InternalSessionAbstractInternalSessionStoreStep. getByRestrictedID(SessionID sessionID, InternalSessionStore next)InternalSessionInternalSessionPersistenceStore. getByRestrictedID(SessionID sessionID)InternalSessionInternalSessionStore. getByRestrictedID(SessionID sessionID)Gets a restricted session from a given SessionID.InternalSessionInternalSessionStoreChain. getByRestrictedID(SessionID sessionID)InternalSessionInternalSessionStoreStep. getByRestrictedID(SessionID sessionID, InternalSessionStore next)Gets a restricted session from a given SessionID.InternalSessionSessionPersistenceManagerStep. getByRestrictedID(SessionID sessionID, InternalSessionStore next)InternalSessionSessionPersistenceStore. getByRestrictedID(SessionID sessionID)Get a restricted session from a given SessionID.InternalSessionTimeOutSessionFilterStep. getByRestrictedID(SessionID sessionID, InternalSessionStore next)InternalSessionAbstractInternalSessionStoreStep. getBySessionID(SessionID sessionID, InternalSessionStore next)InternalSessionInternalSessionPersistenceStore. getBySessionID(SessionID sessionID)InternalSessionInternalSessionStore. getBySessionID(SessionID sessionID)Gets a session from a given SessionID.InternalSessionInternalSessionStoreChain. getBySessionID(SessionID sessionID)InternalSessionInternalSessionStoreStep. getBySessionID(SessionID sessionID, InternalSessionStore next)Gets a session from a given SessionID.InternalSessionSessionPersistenceManagerStep. getBySessionID(SessionID sessionID, InternalSessionStore next)InternalSessionTimeOutSessionFilterStep. getBySessionID(SessionID sessionID, InternalSessionStore next)InternalSessionSessionPersistenceStore. recoverSession(SessionID sessionID)This will recover the specified session from the repository based on the provided session id.InternalSessionSessionPersistenceStore. recoverSessionByHandle(String sessionHandle)This will recover the specified session from the repository based on the provided session handle.Methods in org.forgerock.openam.session.service.access.persistence that return types with arguments of type InternalSession Modifier and Type Method Description Collection<InternalSession>SessionPersistenceStore. getValidSessions()Returns all the valid sessions from the CTS serverMethods in org.forgerock.openam.session.service.access.persistence with parameters of type InternalSession Modifier and Type Method Description voidAbstractInternalSessionStoreStep. create(InternalSession session, InternalSessionStore next)voidInternalSessionPersistenceStore. create(InternalSession session)voidInternalSessionStore. create(InternalSession session)Stores the InternalSession in the cache.voidInternalSessionStoreChain. create(InternalSession session)voidInternalSessionStoreStep. create(InternalSession session, InternalSessionStore next)Stores the InternalSession in the cache.voidSessionPersistenceManagerStep. create(InternalSession session, InternalSessionStore next)voidSessionPersistenceStore. create(InternalSession session)Persist the provided session to the CTS, or update it if it is already there.voidSessionPersistenceManagerStep. notifyUpdate(InternalSession internalSession)voidAbstractInternalSessionStoreStep. remove(InternalSession internalSession, InternalSessionStore next)voidInternalSessionPersistenceStore. remove(InternalSession session)voidInternalSessionStore. remove(InternalSession session)Remove the Session from the cache.voidInternalSessionStoreChain. remove(InternalSession session)voidInternalSessionStoreStep. remove(InternalSession session, InternalSessionStore next)Remove the Session from the cache.voidSessionPersistenceManagerStep. remove(InternalSession session, InternalSessionStore next)voidAbstractInternalSessionStoreStep. update(InternalSession session, InternalSessionStore next)voidInternalSessionPersistenceStore. update(InternalSession session)voidInternalSessionStore. update(InternalSession session)voidInternalSessionStoreChain. update(InternalSession session)voidInternalSessionStoreStep. update(InternalSession session, InternalSessionStore next)voidSessionPersistenceManagerStep. update(InternalSession session, InternalSessionStore next)voidSessionPersistenceStore. update(InternalSession session) -
Uses of InternalSession in org.forgerock.openam.session.service.access.persistence.caching
Methods in org.forgerock.openam.session.service.access.persistence.caching that return InternalSession Modifier and Type Method Description InternalSessionInMemoryInternalSessionCacheStep. getByHandle(String sessionHandle, InternalSessionStore next)InternalSessionInMemoryInternalSessionCacheStep. getByRestrictedID(SessionID sessionID, InternalSessionStore next)InternalSessionInMemoryInternalSessionCacheStep. getBySessionID(SessionID sessionID, InternalSessionStore next)Methods in org.forgerock.openam.session.service.access.persistence.caching with parameters of type InternalSession Modifier and Type Method Description voidInMemoryInternalSessionCacheStep. create(InternalSession session, InternalSessionStore next)voidInMemoryInternalSessionCacheStep. remove(InternalSession session, InternalSessionStore next)voidInMemoryInternalSessionCacheStep. update(InternalSession session, InternalSessionStore next) -
Uses of InternalSession in org.forgerock.openam.sso.providers.stateless
Methods in org.forgerock.openam.sso.providers.stateless with parameters of type InternalSession Modifier and Type Method Description StatelessSessionStatelessSessionManager. generate(InternalSession internalSession)
-