Package | Description |
---|---|
com.sun.identity.saml2.common |
Defines common SAMLv2 utilities and constants.
|
com.sun.identity.saml2.plugins |
Defines SAMLv2 Plugin SPIs.
|
com.sun.identity.saml2.profile |
Package that handles SAML v2 profiles.
|
com.sun.identity.saml2.protocol |
SAMLv2 Protocol Classes.
|
com.sun.identity.saml2.protocol.impl |
SAMLv2 Protocol Implemenetation Classes.
|
com.sun.identity.saml2.soapbinding | |
com.sun.identity.xacml.plugins | |
org.forgerock.openam.oauth2.saml2.core |
Modifier and Type | Method and Description |
---|---|
static Response |
SAML2Utils.getErrorResponse(RequestAbstract request,
String code,
String subCode,
String statusMsg,
String issuerEntityID)
Returns a
SAML Response object containing error status |
Modifier and Type | Method and Description |
---|---|
static String |
SAML2Utils.getNameIDStringFromResponse(Response response)
Obtains the value of NameID from Response.
|
static Map |
SAML2Utils.verifyResponse(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
Response response,
String orgName,
String hostEntityId,
String profileBinding)
Verifies single sign on
Response and returns information
to SAML2 auth module for further processing. |
Modifier and Type | Method and Description |
---|---|
boolean |
SAML2ServiceProviderAdapter.postSingleSignOnFailure(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
int failureCode)
Invokes after Single Sign-On processing failed.
|
boolean |
SAML2ServiceProviderAdapter.postSingleSignOnSuccess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
Object session,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
boolean isFederation)
Invokes after Single-Sign-On processing succeeded.
|
void |
DefaultIDPAdapter.preSignResponse(AuthnRequest authnRequest,
Response res,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
Object session,
String relayState) |
void |
SAML2IdentityProviderAdapter.preSignResponse(AuthnRequest authnRequest,
Response res,
String hostProviderID,
String realm,
javax.servlet.http.HttpServletRequest request,
Object session,
String relayState)
Called after the SAML Response object is created, but before the Response is signed/encrypted.
|
void |
SAML2ServiceProviderAdapter.preSingleSignOnProcess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile)
Invokes when the
FAM received the Single-Sign-On response
from the IDP, this is called before any processing started on SP side. |
Modifier and Type | Method and Description |
---|---|
Response |
ResponseInfo.getResponse()
Returns the
Response object. |
static Response |
IDPSSOUtil.getResponse(javax.servlet.http.HttpServletRequest request,
Object session,
AuthnRequest authnReq,
String recipientEntityID,
String idpEntityID,
String idpMetaAlias,
String realm,
String nameIDFormat,
String acsURL,
String affiliationID,
AuthnContext matchingAuthnContext)
Returns a
SAML Response object. |
static Response |
AssertionIDRequestUtil.processAssertionIDRequest(AssertionIDRequest assertionIDRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String samlAuthorityEntityID,
String role,
String realm)
This method processes the
AssertionIDRequest coming
from a requester. |
static Response |
AttributeQueryUtil.processAttributeQuery(AttributeQuery attrQuery,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String attrAuthorityEntityID,
String realm,
String attrQueryProfileAlias)
Processes the
AttributeQuery coming
from a requester. |
static Response |
AuthnQueryUtil.processAuthnQuery(AuthnQuery authnQuery,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String authnAuthorityEntityID,
String realm)
This method processes the
AuthnQuery coming
from a requester. |
static Response |
AssertionIDRequestUtil.sendAssertionIDRequest(AssertionIDRequest assertionIDRequest,
String samlAuthorityEntityID,
String role,
String realm,
String binding)
Sends the
AssertionIDRequest to specifiied Assertion ID
Request Service and returns Response coming from the
Assertion ID Request Service. |
static Response |
AttributeQueryUtil.sendAttributeQuery(AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm,
String attrQueryProfile,
String attrProfile,
String binding)
Sends the
AttributeQuery to specified
attribute authority and returns Response coming
from the attribute authority. |
static Response |
AuthnQueryUtil.sendAuthnQuery(AuthnQuery authnQuery,
String authnAuthorityEntityID,
String realm,
String binding)
This method sends the
AuthnQuery to specifiied
authentication authority and returns Response coming
from the authentication authority. |
Modifier and Type | Method and Description |
---|---|
static long |
IDPSSOUtil.getValidTimeofResponse(String realm,
String idpEntityID,
Response response) |
static void |
IDPSSOUtil.sendResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
String acsBinding,
String spEntityID,
String idpEntityID,
String idpMetaAlias,
String realm,
String relayState,
String acsURL,
Response res,
Object session)
Sends a response to service provider
|
static void |
IDPSSOUtil.sendResponseArtifact(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String idpEntityID,
String spEntityID,
String realm,
String acsURL,
String relayState,
Response res,
Object session,
Map props)
This method opens a URL connection to the target specified and
sends artifact response to it using the
HttpServletResponse object. |
static void |
IDPSSOUtil.sendResponseECP(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
String idpEntityID,
String realm,
String acsURL,
Response res)
This method sends SAML Response back to ECP.
|
static void |
AttributeQueryUtil.signResponse(Response response,
String attrAuthorityEntityID,
String realm,
boolean includeCert) |
Constructor and Description |
---|
ResponseInfo(Response response,
String binding,
String relayState)
Constructor creates the ResponseInfo.
|
Modifier and Type | Method and Description |
---|---|
Response |
ProtocolFactory.createResponse()
Returns a new instance of
Response . |
Response |
ProtocolFactory.createResponse(Element elem)
Returns a new instance of
Response . |
Response |
ProtocolFactory.createResponse(String xml)
Returns a new instance of
Response . |
Modifier and Type | Class and Description |
---|---|
class |
ResponseImpl
This is an implementation of interface
Response . |
Modifier and Type | Method and Description |
---|---|
Response |
RequestHandler.handleQuery(String hostedEntityID,
String remoteEntityID,
RequestAbstract request,
SOAPMessage soapMessage)
Returns a SAMLv2 Query Response for the received Query Request.
|
static Response |
QueryClient.processXACMLQuery(RequestAbstract request,
String pepEntityID,
String pdpEntityID)
Returns SAMLv2
Response . |
Modifier and Type | Method and Description |
---|---|
static boolean |
QueryClient.verifySignedResponse(String pepEntityID,
String pdpEntityID,
Response response)
Verify the signature in
Response . |
Modifier and Type | Method and Description |
---|---|
Response |
XACMLAuthzDecisionQueryHandler.handleQuery(String pdpEntityId,
String pepEntityId,
RequestAbstract samlpRequest,
SOAPMessage soapMessage)
Processes an XACMLAuthzDecisionQuery and retruns a SAML2 Response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OAuth2Saml2GrantSPAdapter.postSingleSignOnFailure(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
int failureCode) |
boolean |
OAuth2Saml2GrantSPAdapter.postSingleSignOnSuccess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PrintWriter out,
Object session,
AuthnRequest authnRequest,
Response ssoResponse,
String profile,
boolean isFederation) |
void |
OAuth2Saml2GrantSPAdapter.preSingleSignOnProcess(String hostedEntityID,
String realm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthnRequest authnRequest,
Response ssoResponse,
String profile) |
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.