Uses of Class
com.sun.identity.plugin.session.SessionException
-
Packages that use SessionException Package Description com.sun.identity.federation.services.fednsso HandlesID-FF
federation and single sign on.com.sun.identity.multiprotocol com.sun.identity.plugin.session Contains session SPI.com.sun.identity.plugin.session.impl com.sun.identity.saml2.common Defines common SAMLv2 utilities and constants.com.sun.identity.saml2.profile Package that handles SAML v2 profiles.com.sun.identity.wsfederation.servlet org.forgerock.openam.saml2 -
-
Uses of SessionException in com.sun.identity.federation.services.fednsso
Methods in com.sun.identity.federation.services.fednsso that throw SessionException Modifier and Type Method Description protected Object
FSAssertionArtifactHandler. generateAnonymousToken(jakarta.servlet.http.HttpServletResponse response)
Generates an anonymous token for onetime case. -
Uses of SessionException in com.sun.identity.multiprotocol
Methods in com.sun.identity.multiprotocol that throw SessionException Modifier and Type Method Description static void
MultiProtocolUtils. invalidateSession(Object session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String protocol)
Invalidates session for a specific protocol. -
Uses of SessionException in com.sun.identity.plugin.session
Methods in com.sun.identity.plugin.session that throw SessionException Modifier and Type Method Description void
SessionProvider. addListener(Object session, SessionListener listener)
Registers a listener for the session.Object
SessionProvider. createSession(Map info, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, StringBuffer targetApplication)
Meaningful only for Service Provider side, the implementation of this method will create a local session for the local user identified by the information in the map.String
SessionProvider. getPrincipalName(Object session)
Returns princiapl name, or user name given the session object.String[]
SessionProvider. getProperty(Object session, String name)
Returns property value of a session object.static SessionProvider
SessionManager. getProvider()
Returns the configuredSessionProvider
instance.Object
SessionProvider. getSession(jakarta.servlet.http.HttpServletRequest request)
Returns the corresponding session object.Object
SessionProvider. getSession(String sessionID)
Returns the corresponding session object.long
SessionProvider. getTimeLeft(Object session)
Returns the time left for this session in seconds.void
SessionProvider. invalidateSession(Object session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
May be used by both SP and IDP side to invalidate a session.boolean
SessionProvider. isValid(Object session)
Returnstrue
if the session is valid.String
SessionProvider. rewriteURL(Object session, String URL)
Returns rewritten URL.void
SessionProvider. setProperty(Object session, String name, String[] values)
Stores a property in the session object. -
Uses of SessionException in com.sun.identity.plugin.session.impl
Methods in com.sun.identity.plugin.session.impl that throw SessionException Modifier and Type Method Description void
FedletSessionProvider. addListener(Object session, SessionListener listener)
Registers a listener for the session.void
FMSessionProvider. addListener(Object session, SessionListener listener)
Registers a listener for the session.Object
FedletSessionProvider. createSession(Map info, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, StringBuffer targetApplication)
Meaningful only for SP side, the implementation of this method will create a local session for the local user identified by the information in the map.Object
FMSessionProvider. createSession(Map info, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, StringBuffer targetApplication)
Meaningful only for SP side, the implementation of this method will create a local session for the local user identified by the information in the map.String
FedletSessionProvider. getPrincipalName(Object session)
Returns princiapl name, or user name given the session object.String
FMSessionProvider. getPrincipalName(Object session)
Returns princiapl name, or user name given the session object.String[]
FedletSessionProvider. getProperty(Object session, String name)
Retrieves a property from the session object.String[]
FMSessionProvider. getProperty(Object session, String name)
Retrieves a property from the session object.Object
FedletSessionProvider. getSession(jakarta.servlet.http.HttpServletRequest request)
May be used by both SP and IDP side for getting an existing session given a browser initiated HTTP request.Object
FedletSessionProvider. getSession(String sessionID)
May be used by both SP and IDP side for getting an existing session given an session ID.Object
FMSessionProvider. getSession(jakarta.servlet.http.HttpServletRequest request)
May be used by both SP and IDP side for getting an existing session given a browser initiated HTTP request.Object
FMSessionProvider. getSession(String sessionID)
May be used by both SP and IDP side for getting an existing session given an session ID.long
FMSessionProvider. getTimeLeft(Object session)
void
FedletSessionProvider. invalidateSession(Object session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
May be used by both SP and IDP side to invalidate a session.void
FMSessionProvider. invalidateSession(Object session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
May be used by both SP and IDP side to invalidate a session.boolean
FedletSessionProvider. isValid(Object session)
Indicates whether the session is still valid.boolean
FMSessionProvider. isValid(Object session)
Indicates whether the session is still valid.String
FedletSessionProvider. rewriteURL(Object session, String URL)
String
FMSessionProvider. rewriteURL(Object session, String URL)
void
FedletSessionProvider. setProperty(Object session, String name, String[] values)
Stores a property in the session object.void
FMSessionProvider. setProperty(Object session, String name, String[] values)
Stores a property in the session object. -
Uses of SessionException in com.sun.identity.saml2.common
Methods in com.sun.identity.saml2.common that throw SessionException Modifier and Type Method Description static String
SAML2Utils. getSingleValuedSessionProperty(Object session, String propertyName)
Returns the first value of the session property.static boolean
SAML2Utils. isIgnoreProfileSet(Object session)
Return true if the User for this session has a profile set to Ignore -
Uses of SessionException in com.sun.identity.saml2.profile
Methods in com.sun.identity.saml2.profile that throw SessionException Modifier and Type Method Description static StringBuffer
LogoutUtil. doLogout(String metaAlias, String recipientEntityID, List<EndpointType> recipientSLOList, List extensionsList, String binding, String relayState, String sessionIndex, NameID nameID, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap, BaseConfigType config)
Builds theLogoutRequest
and executes the required processing logic for sendingLogoutRequest
from SP to IDP.static StringBuffer
LogoutUtil. doLogout(String metaAlias, String recipientEntityID, List extensionsList, EndpointType logoutEndpoint, String relayState, String sessionIndex, NameID nameID, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap, BaseConfigType config)
static ManageNameIDServiceElement
DoManageNameID. getIDPManageNameIDConfig(String realm, String entityId, String binding)
Returns first ManageNameID configuration in an entity under the realm.static SingleLogoutServiceElement
LogoutUtil. getIDPSLOConfig(String realm, String entityId, String binding)
Returns first SingleLogout configuration in an entity under the realm.static ManageNameIDServiceElement
DoManageNameID. getSPManageNameIDConfig(String realm, String entityId, String binding)
Returns first ManageNameID configuration in an entity under the realm.static SingleLogoutServiceElement
LogoutUtil. getSPSLOConfig(String realm, String entityId, String binding)
Returns first SingleLogout configuration in an entity under the realm.static void
DoManageNameID. processHttpRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)
Parses the request parameters and process the ManageNameID Request from the remote entity.static void
IDPSingleLogout. processLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String samlRequest, String relayState)
Gets and processes the SingleLogoutRequest
from SP.static void
SPSingleLogout. processLogoutRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String samlRequest, String relayState)
Gets and processes the SingleLogoutRequest
from IDP.static boolean
IDPSingleLogout. processLogoutResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String samlResponse, String relayState)
Gets and processes the SingleLogoutResponse
from SP, destroys the local session, checks response's issuer and inResponseTo.static Map<String,String>
SPSingleLogout. processLogoutResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String samlResponse, String relayState)
Gets and processes the SingleLogoutResponse
from IDP, destroys the local session, checks response's issuer and inResponseTo.static void
DoManageNameID. processPOSTRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Map paramsMap)
static Map
SPACSUtils. processResponseForFedlet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out)
Processes response from Identity Provider to Fedlet (SP).static void
SPACSUtils. setAttrMapInSession(SessionProvider sessionProvider, Map attrMap, Object session)
Sets the attribute map in the sessionstatic void
LogoutUtil. setNameIDForSLORequest(LogoutRequest request, NameID nameID, String realm, String hostEntity, String hostEntityRole, String remoteEntity)
static boolean
LogoutUtil. verifySLORequest(LogoutRequest sloRequest, String realm, String remoteEntity, String hostEntity, String hostEntityRole)
Verify the signature in LogoutRequest.static boolean
LogoutUtil. verifySLOResponse(LogoutResponse sloResponse, String realm, String remoteEntity, String hostEntity, String hostEntityRole)
Verify the signature in LogoutResponse. -
Uses of SessionException in com.sun.identity.wsfederation.servlet
Methods in com.sun.identity.wsfederation.servlet that throw SessionException Modifier and Type Method Description static void
RPSigninResponse. setAttrMapInSession(SessionProvider sessionProvider, Map attrMap, Object session)
Sets the attribute map in the session -
Uses of SessionException in org.forgerock.openam.saml2
Methods in org.forgerock.openam.saml2 that throw SessionException Modifier and Type Method Description void
SAMLAuthenticatorLookup. retrieveAuthenticationFromCache()
Retrieves the authentication details for the session from the cache.void
UtilProxySAMLAuthenticatorLookup. retrieveAuthenticationFromCache()
-