Package | Description |
---|---|
com.sun.identity.federation.services.fednsso |
Handles
ID-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 |
Modifier and Type | Method and Description |
---|---|
protected Object |
FSAssertionArtifactHandler.generateAnonymousToken(javax.servlet.http.HttpServletResponse response)
Generates an anonymous token for onetime case.
|
Modifier and Type | Method and Description |
---|---|
static void |
MultiProtocolUtils.invalidateSession(Object session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String protocol)
Invalidates session for a specific protocol.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionProvider.addListener(Object session,
SessionListener listener)
Registers a listener for the session.
|
Object |
SessionProvider.createSession(Map info,
javax.servlet.http.HttpServletRequest request,
javax.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 configured
SessionProvider instance. |
Object |
SessionProvider.getSession(javax.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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
May be used by both SP and IDP side to invalidate a session.
|
boolean |
SessionProvider.isValid(Object session)
Returns
true 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.
|
Modifier and Type | Method and Description |
---|---|
void |
FMSessionProvider.addListener(Object session,
SessionListener listener)
Registers a listener for the session.
|
void |
FedletSessionProvider.addListener(Object session,
SessionListener listener)
Registers a listener for the session.
|
Object |
FMSessionProvider.createSession(Map info,
javax.servlet.http.HttpServletRequest request,
javax.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 |
FedletSessionProvider.createSession(Map info,
javax.servlet.http.HttpServletRequest request,
javax.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 |
FMSessionProvider.getPrincipalName(Object session)
Returns princiapl name, or user name given the session
object.
|
String |
FedletSessionProvider.getPrincipalName(Object session)
Returns princiapl name, or user name given the session
object.
|
String[] |
FMSessionProvider.getProperty(Object session,
String name)
Retrieves a property from the session object.
|
String[] |
FedletSessionProvider.getProperty(Object session,
String name)
Retrieves a property from the session object.
|
Object |
FMSessionProvider.getSession(javax.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(javax.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.
|
Object |
FedletSessionProvider.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 |
FMSessionProvider.invalidateSession(Object session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
May be used by both SP and IDP side to invalidate a session.
|
void |
FedletSessionProvider.invalidateSession(Object session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
May be used by both SP and IDP side to invalidate a session.
|
boolean |
FMSessionProvider.isValid(Object session)
Indicates whether the session is still valid.
|
boolean |
FedletSessionProvider.isValid(Object session)
Indicates whether the session is still valid.
|
String |
FMSessionProvider.rewriteURL(Object session,
String URL) |
String |
FedletSessionProvider.rewriteURL(Object session,
String URL) |
void |
FMSessionProvider.setProperty(Object session,
String name,
String[] values)
Stores a property in the session object.
|
void |
FedletSessionProvider.setProperty(Object session,
String name,
String[] values)
Stores a property in the session object.
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
static StringBuffer |
LogoutUtil.doLogout(String metaAlias,
String recipientEntityID,
List<EndpointType> recipientSLOList,
List extensionsList,
String binding,
String relayState,
String sessionIndex,
NameID nameID,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map paramsMap,
BaseConfigType config)
Builds the
LogoutRequest and executes
the required processing logic for sending LogoutRequest
from SP to IDP. |
static StringBuffer |
LogoutUtil.doLogout(String metaAlias,
String recipientEntityID,
List extensionsList,
EndpointType logoutEndpoint,
String relayState,
String sessionIndex,
NameID nameID,
javax.servlet.http.HttpServletRequest request,
javax.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map paramsMap)
Parses the request parameters and process the ManageNameID
Request from the remote entity.
|
static void |
IDPSingleLogout.processLogoutRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
String samlRequest,
String relayState)
Gets and processes the Single
LogoutRequest from SP. |
static void |
SPSingleLogout.processLogoutRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
String samlRequest,
String relayState)
Gets and processes the Single
LogoutRequest from IDP. |
static boolean |
IDPSingleLogout.processLogoutResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
String samlResponse,
String relayState)
Gets and processes the Single
LogoutResponse from SP,
destroys the local session, checks response's issuer
and inResponseTo. |
static Map<String,String> |
SPSingleLogout.processLogoutResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String samlResponse,
String relayState)
Gets and processes the Single
LogoutResponse from IDP,
destroys the local session, checks response's issuer
and inResponseTo. |
static void |
DoManageNameID.processPOSTRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map paramsMap) |
static Map |
SPACSUtils.processResponseForFedlet(javax.servlet.http.HttpServletRequest request,
javax.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 session
|
static 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
RPSigninResponse.setAttrMapInSession(SessionProvider sessionProvider,
Map attrMap,
Object session)
Sets the attribute map in the session
|
Modifier and Type | Method and Description |
---|---|
void |
UtilProxySAMLAuthenticatorLookup.retrieveAuthenticationFromCache() |
void |
SAMLAuthenticatorLookup.retrieveAuthenticationFromCache()
Retrieves the authentication details for the session from the cache.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.