Uses of Class
com.iplanet.dpro.session.SessionException
-
Packages that use SessionException Package Description com.iplanet.dpro.session This package contains classes that represents a session and its all session related informationcom.iplanet.dpro.session.monitoring com.iplanet.dpro.session.operations 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.service.cluster com.iplanet.dpro.session.share This package contains shared session classes that represent session information,handle the session notification and process the URL encodingcom.iplanet.dpro.session.utils com.sun.identity.authentication.service com.sun.identity.session.util This package contains session untility classes and the SSO (single Sign on ) token restrictions classesorg.forgerock.openam.authentication.service A collection of classes which support the authentication service.org.forgerock.openam.core.rest.session Session-resource specific classes.org.forgerock.openam.dpro.session org.forgerock.openam.session org.forgerock.openam.session.authorisation 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.sso.providers.stateless -
-
Uses of SessionException in com.iplanet.dpro.session
Subclasses of SessionException in com.iplanet.dpro.session Modifier and Type Class Description classSessionTimedOutExceptionASessionTimedOutExceptionis thrown if the Session has timed out.Methods in com.iplanet.dpro.session that throw SessionException Modifier and Type Method Description voidSession. addSessionListener(SessionListener listener)Adds a session listener for session change events.voidSession. addSessionListener(SessionListener listener, boolean force)Adds a session listener for session change events.StringSession. dereferenceRestrictedTokenID(Session session, String restrictedId)Given a restricted token, returns the SSOTokenID of the master token can only be used if the requester is an app token This functionality is only available in server mode.voidSession. destroySession(Session session)Destroys a session.SessionIDSessionID. generateRelatedSessionID(SessionServerConfig serverConfig)StringSessionID. generateSessionHandle(SessionServerConfig serverConfig)static SessionIDSessionID. generateSessionID(SessionServerConfig serverConfig, String domain)Generates new SessionIDstatic SessionIDSessionID. generateStatelessSessionID(SessionServerConfig serverConfig, String domain, String jwt)Generates a new stateless session ID.longSession. getIdleTime()Returns the session idle time in seconds.StringSession. getProperty(String name)Gets the property stored in this session.TokenRestrictionSession. getRestriction()static SessionSession. getSession(SessionID sid)URLSession. getSessionServiceURL()Gets the Session Service URL for this session object.SessionStateSession. getState(boolean reset)Returns the state of the session.longSession. getTimeLeft()Returns the time left for this session in seconds.SearchResults<Session>Session. getValidSessions(String server, String pattern)Gets all valid sessions from the specified session server.booleanSession. isRestricted()Returns true if the SSOTokenID associated with this SSOToken is a restricted token, false otherwise.booleanSession. isTimedOut()Returns true if the session has timed out.voidSession. logout()Logs out a session.static StringSessionID. makeRelatedSessionID(String encryptedID, SessionID prototype)Generates encoded session id string which uses the same extensions and tail part as prototype session id, but a different encrypted ID.voidSession. refresh(boolean reset)Gets the latest session from session server and updates the local cache of this session.SessionResponseClientSdkSessionRequests. sendRequest(URL svcurl, SessionRequest sreq, Session session)Sends remote session request without retries.voidSession. setProperty(String name, String value)Sets a property for this session.voidSession. update(SessionInfo info)Updates the session from the session information server.voidSessionID. validate()This method validates that the received session ID points to an existing server ID, and the site ID also corresponds to the server ID found in the session. -
Uses of SessionException in com.iplanet.dpro.session.monitoring
Methods in com.iplanet.dpro.session.monitoring that throw SessionException Modifier and Type Method Description voidMonitoredOperations. addSessionListener(Session session, String url)booleanMonitoredOperations. checkSessionExists(SessionID sessionId)StringMonitoredOperations. deferenceRestrictedID(Session session, SessionID restrictedID)voidMonitoredOperations. destroy(Session requester, Session session)Collection<PartialSession>MonitoredOperations. getMatchingSessions(CrestQuery crestQuery)StringMonitoredOperations. getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction)SessionInfoMonitoredOperations. getSessionInfo(SessionID sid, boolean reset)SearchResults<SessionInfo>MonitoredOperations. getValidSessions(Session session, String pattern)voidMonitoredOperations. logout(Session session)Performs the logout operation on the Session.SessionInfoMonitoredOperations. refresh(Session session, boolean reset)Performs a refresh of the Session and return a summary of the Session information.SessionMonitoredOperations. resolveSession(SessionID sessionID)voidMonitoredOperations. setExternalProperty(SSOToken clientToken, SessionID sessionId, String name, String value)voidMonitoredOperations. setProperty(Session session, String name, String value)Assigns the property to the Session. -
Uses of SessionException in com.iplanet.dpro.session.operations
Methods in com.iplanet.dpro.session.operations that throw SessionException Modifier and Type Method Description voidSessionOperations. addSessionListener(Session session, String url)Add a session listener notification url.booleanSessionOperations. checkSessionExists(SessionID sessionId)Check whether a session identified by {code sessionId} can be retrieved.StringSessionOperations. deferenceRestrictedID(Session session, SessionID restrictedID)Given a restricted token, returns the SSOTokenID of the master token can only be used if the requester is an app tokenvoidSessionOperations. destroy(Session requester, Session session)Destroys the Session by removing it and moving it to the DESTROY state.Collection<PartialSession>SessionOperations. getMatchingSessions(CrestQuery crestQuery)Returns partial sessions from the session service backend that matches the provided CREST query.StringSessionOperations. getRestrictedTokenId(SessionID masterSessionId, TokenRestriction restriction)Gets the restricted token ID for a session.SessionInfoSessionOperations. getSessionInfo(SessionID sessionId, boolean reset)Get the Session Info Object from the Session ID.SearchResults<SessionInfo>SessionOperations. getValidSessions(Session session, String pattern)Returns all sessions which are accessible using the provided session for authorization, and which match the provided filter.voidSessionOperations. logout(Session session)Performs the logout operation on the Session.SessionInfoSessionOperations. refresh(Session session, boolean reset)Performs a refresh of the Session and return a summary of the Session information.SessionSessionOperations. resolveSession(SessionID sessionID)Retrieves the Session from the Session ID.voidSessionOperations. setExternalProperty(SSOToken clientToken, SessionID sessionId, String name, String value)Sets an external property in the session.voidSessionOperations. setProperty(Session session, String name, String value)Assigns the property to the Session. -
Uses of SessionException in com.iplanet.dpro.session.operations.strategies
Methods in com.iplanet.dpro.session.operations.strategies that throw SessionException Modifier and Type Method Description voidClientSdkOperations. addSessionListener(Session session, String url)voidLocalOperations. addSessionListener(Session session, String url)voidStatelessOperations. addSessionListener(Session session, String url)booleanClientSdkOperations. checkSessionExists(SessionID sessionId)booleanLocalOperations. checkSessionExists(SessionID sessionId)booleanStatelessOperations. checkSessionExists(SessionID sessionId)StringClientSdkOperations. deferenceRestrictedID(Session session, SessionID restrictedID)StringLocalOperations. deferenceRestrictedID(Session session, SessionID restrictedID)StringStatelessOperations. deferenceRestrictedID(Session session, SessionID restrictedID)voidClientSdkOperations. destroy(Session requester, Session session)Destroys the Session via the Session remote service URL.voidLocalOperations. destroy(Session requester, Session session)Destroy the Session using the SessionService.voidStatelessOperations. destroy(Session requester, Session session)Collection<PartialSession>LocalOperations. getMatchingSessions(CrestQuery crestQuery)Collection<PartialSession>StatelessOperations. getMatchingSessions(CrestQuery crestQuery)This implementation will forward the query call to the local operations in order to allow the return of stateful sessions even when the request was initiated using a stateless session.StringClientSdkOperations. getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction)StringLocalOperations. getRestrictedTokenId(SessionID masterSessionId, TokenRestriction restriction)Returns the restricted tokenStringStatelessOperations. getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction)SessionInfoLocalOperations. getSessionInfo(SessionID sessionID, boolean reset)SessionInfoStatelessOperations. getSessionInfo(SessionID sid, boolean reset)SearchResults<SessionInfo>ClientSdkOperations. getValidSessions(Session session, String pattern)SearchResults<SessionInfo>LocalOperations. getValidSessions(Session s, String pattern)Gets all valid Internal Sessions, depending on the value of the user's preferences.SearchResults<SessionInfo>StatelessOperations. getValidSessions(Session session, String pattern)voidClientSdkOperations. logout(Session session)Performs a logout operation by making a remote request based on the Sessions service URL.voidLocalOperations. logout(Session session)voidStatelessOperations. logout(Session session)SessionInfoClientSdkOperations. refresh(Session session, boolean reset)SessionInfoLocalOperations. refresh(Session session, boolean reset)Fetches the SessionInfo from the SessionService.SessionInfoStatelessOperations. refresh(Session session, boolean reset)SessionClientSdkOperations. resolveSession(SessionID sessionID)SessionLocalOperations. resolveSession(SessionID sessionID)SessionStatelessOperations. resolveSession(SessionID sessionID)voidClientSdkOperations. setExternalProperty(SSOToken clientToken, SessionID sessionId, String name, String value)voidLocalOperations. setExternalProperty(SSOToken clientToken, SessionID sessionId, String name, String value)voidStatelessOperations. setExternalProperty(SSOToken clientToken, SessionID sessionId, String name, String value)voidClientSdkOperations. setProperty(Session session, String name, String value)Perform a remote setProperty on the Session using the remote Service URL.voidLocalOperations. setProperty(Session session, String name, String value)Sets the property using the SessionService.voidStatelessOperations. setProperty(Session session, String name, String value) -
Uses of SessionException in com.iplanet.dpro.session.service
Methods in com.iplanet.dpro.session.service that throw SessionException Modifier and Type Method Description voidSessionService. addSessionListener(Session session, String url)Adds listener to a Internal Sessions.booleanSessionService. checkSessionExists(SessionID sessionId)Check whether a session identified by {code sessionId} can be retrieved.voidSessionService. destroySession(Session requester, SessionID sessionToDestroy)Destroy a Internal Session, depending on the value of the user's permissions.Collection<PartialSession>SessionService. getMatchingSessions(Session caller, CrestQuery crestQuery)Returns partial (stateful) sessions matching the provided CREST query.StringSessionService. getRestrictedTokenId(String masterSid, TokenRestriction restriction)Returns the restricted tokenSessionInfoSessionService. getSessionInfo(SessionID sid, boolean reset)Returns the Session information.SearchResults<SessionInfo>SessionService. getValidSessions(Session s, String pattern)Gets all valid Internal Sessions, depending on the value of the user's preferences.voidSessionService. logout(Session session)Logout the user.voidInternalSession. putExternalProperty(SSOToken clientToken, String key, String value)Sets the key-value pair in the InternalSession property table if it is not protected.voidSessionService. setExternalProperty(SSOToken clientToken, SessionID sessionId, String name, String value)Sets external property in the Internal Session as long as it is not protected -
Uses of SessionException in com.iplanet.dpro.session.service.cluster
Methods in com.iplanet.dpro.session.service.cluster that throw SessionException Modifier and Type Method Description StringClusterMonitor. getCurrentHostServer(SessionID sessionId)Identify the host (aka home or authoritative) server for the provided session.StringMultiServerClusterMonitor. getCurrentHostServer(SessionID sid)Identify the host (aka home or authoritative) server for the provided session. -
Uses of SessionException in com.iplanet.dpro.session.share
Methods in com.iplanet.dpro.session.share that throw SessionException Modifier and Type Method Description static SessionResponseSessionResponse. parseXML(String xml)This method is used primarily at the client side to reconstruct aSessionResponseobject based on the XML document received from server. -
Uses of SessionException in com.iplanet.dpro.session.utils
Methods in com.iplanet.dpro.session.utils that throw SessionException 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 SessionException in com.sun.identity.authentication.service
Methods in com.sun.identity.authentication.service that throw SessionException Modifier and Type Method Description protected booleanDefaultSessionActivator. activateSession(InternalSession session, LoginState loginState) -
Uses of SessionException in com.sun.identity.session.util
Methods in com.sun.identity.session.util that throw SessionException Modifier and Type Method Description static voidSessionUtils. checkPermissionToSetProperty(SSOToken clientToken, String key, String value)Helper method to check if client has taken permission to set value to it.voidSessionUtilsWrapper. checkPermissionToSetProperty(SSOToken clientToken, String key, String value)Helper method to check if owner ofclientTokenhas permission to protected session properties.static booleanSessionUtils. isTrustedSource(InetAddress source)Returns the remote IP address of the client is a trusted source -
Uses of SessionException in org.forgerock.openam.authentication.service
Methods in org.forgerock.openam.authentication.service that throw SessionException Modifier and Type Method Description SSOTokenAuthSessionFactory. getAuthenticationSession(String domain)Returns the Internal Session used by the Auth Services.voidSessionPropertyUpgrader. populatePropertiesFromStateless(StatelessSession oldSession, InternalSession newSession)Entry point for LoginState. -
Uses of SessionException in org.forgerock.openam.core.rest.session
Methods in org.forgerock.openam.core.rest.session that throw SessionException Modifier and Type Method Description voidSessionUtilsWrapper. checkPermissionToSetProperty(SSOToken clientToken, String key, String value)Delegate check permission to SessionUtils -
Uses of SessionException in org.forgerock.openam.dpro.session
Subclasses of SessionException in org.forgerock.openam.dpro.session Modifier and Type Class Description classInvalidSessionIdExceptionThis exception describes the case when a session is considered invalid, most likely because the session ID cannot be found in the deployment. -
Uses of SessionException in org.forgerock.openam.session
Methods in org.forgerock.openam.session that throw SessionException Modifier and Type Method Description StringSessionCookies. getLBCookie(SessionID sid)Returns load balancer cookie value for the Session.StringSessionCookies. getLBCookie(String sid)Returns load balancer cookie value for the Session.SessionSessionCache. getSession(SessionID sid)Returns a session based on a Session ID object.SessionSessionCache. getSession(SessionID sessionID, boolean allowInvalidSessions)Returns a Session based on a Session ID object.SessionSessionCache. getSession(SessionID sessionID, boolean allowInvalidSessions, boolean possiblyResetIdleTime)This function will get a session based on the session id.URLSessionServiceURLService. getSessionServiceURL(SessionID sid)Returns Session Service URL for a Session ID.URLSessionServiceURLService. getSessionServiceURL(String serverID)Returns Session Service URL for a given server ID.URLSessionServiceURLService. getSessionServiceURL(String protocol, String server, String port, String uri)Returns Session Service URL.SessionResponseSessionPLLSender. sendPLLRequest(URL svcurl, SessionRequest sreq)Returns a Session Response object based on the XML document received from remote Session Server. -
Uses of SessionException in org.forgerock.openam.session.authorisation
Methods in org.forgerock.openam.session.authorisation that throw SessionException Modifier and Type Method Description voidSessionChangeAuthorizer. checkPermissionToDestroySession(Session requester, SessionID sessionId)Checks if the requester has the necessary permission to destroy the provided session.Set<String>SessionChangeAuthorizer. getSessionSubjectOrganisations(SessionID sessionID)Gets the organisations assigned to the session subjectbooleanSessionChangeAuthorizer. hasPermissionToDestroySession(Session requester, SessionID sessionId)Checks if the requester has the necessary permission to destroy the provided session.booleanSessionChangeAuthorizer. hasTopLevelAdminRole(SessionID actorsSessionID)Returns true if the subject has top level admin role -
Uses of SessionException in org.forgerock.openam.session.service
Methods in org.forgerock.openam.session.service that throw SessionException Modifier and Type Method Description StringServicesClusterMonitorHandler. getCurrentHostServer(SessionID sid)This is a key method for "internal request routing" mode It determines the server id which is currently hosting session identified by sid.SessionSessionAccessManager. getSession(SessionID sessionId)Get the Session based on the SessionId. -
Uses of SessionException in org.forgerock.openam.session.service.access
Methods in org.forgerock.openam.session.service.access that throw SessionException Modifier and Type Method Description Map<String,Long>SessionQueryManager. getAllSessionsByUUID(String uuid)Returns the expiration information of all sessions belonging to a user (uuid).Collection<PartialSession>SessionQueryManager. getMatchingValidSessions(CrestQuery crestQuery)Return partial sessions matching the provided CREST query filter from the CTS servers.SearchResults<SessionInfo>SessionQueryManager. getValidSessions(Session actingSession, String pattern)Gets all valid Internal Sessions, depending on the value of the user's preferences. -
Uses of SessionException in org.forgerock.openam.session.service.access.persistence
Methods in org.forgerock.openam.session.service.access.persistence that throw SessionException Modifier and Type Method Description Map<String,Long>SessionPersistenceStore. getAllSessionsByUUID(String uuid)Returns the expiration information of all sessions belonging to a user (uuid). -
Uses of SessionException in org.forgerock.openam.sso.providers.stateless
Methods in org.forgerock.openam.sso.providers.stateless that throw SessionException Modifier and Type Method Description booleanStatelessSessionManager. containsJwt(jakarta.servlet.http.HttpServletRequest request)StringStatelessSession. dereferenceRestrictedTokenID(Session session, String restrictedId)StatelessSessionStatelessSessionManager. generate(InternalSession internalSession)StatelessSessionStatelessSessionManager. generate(SessionID sessionID)StatelessSessionStatelessSessionManager. generate(SessionInfo info)Generates a StatelessSession by converting the SessionInfo into a JWT token which can then be used to build up the StatelessSession.StatelessSessionStatelessSessionManager. generate(String tokenId)Generates a StatelessSession based on the String which is assumed to contain a Jwt token.StringStatelessSession. getProperty(String name)SessionInfoStatelessSessionManager. getSessionInfo(SessionID sessionID)Will create the SessionInfo from the JWT contained within the SessionID.SessionStateStatelessSession. getState(boolean reset)booleanStatelessAdminRestriction. isRestricted(SSOToken token)Indicates if a given SSOToken should be restricted when used in the context of a Stateless Session.voidStatelessSession. setProperty(String name, String value)Constructors in org.forgerock.openam.sso.providers.stateless that throw SessionException Constructor Description StatelessSession(SessionID sid, SessionInfo sessionInfo, StatelessSessionManager statelessSessionManager)Constructs the stateless session with the given ID, session state and session factory.
-