public class AssertionIDRequestUtil extends Object
AssertionIDRequest
.Modifier and Type | Method and Description |
---|---|
static Response |
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 void |
processAssertionIDRequestURI(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String samlAuthorityEntityID,
String role,
String realm)
Gets assertion ID from URI and returns assertion if found.
|
static Response |
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 Assertion |
sendAssertionIDRequestURI(String assertionID,
String samlAuthorityEntityID,
String role,
String realm)
Sends the Assertion ID to specifiied Assertion ID Request Service and
returns
Assertion coming from the Assertion ID Request
Service. |
public static Response sendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding) throws SAML2Exception
AssertionIDRequest
to specifiied Assertion ID
Request Service and returns Response
coming from the
Assertion ID Request Service.assertionIDRequest
- the AssertionIDRequest
objectsamlAuthorityEntityID
- entity ID of SAML authorityrole
- SAML authority role, for example,
SAML2Constants.ATTR_AUTH_ROLE
,
SAML2Constants.AUTHN_AUTH_ROLE
or
SAML2Constants.IDP_ROLE
realm
- the realm of hosted entitybinding
- the bindingResponse
objectSAML2Exception
- if the operation is not successfulpublic static Assertion sendAssertionIDRequestURI(String assertionID, String samlAuthorityEntityID, String role, String realm) throws SAML2Exception
Assertion
coming from the Assertion ID Request
Service.assertionID
- the asssertionID objectsamlAuthorityEntityID
- entity ID of SAML authorityrole
- SAML authority role, for example,
SAML2Constants.ATTR_AUTH_ROLE
,
SAML2Constants.AUTHN_AUTH_ROLE
or
SAML2Constants.IDP_ROLE
realm
- the realm of hosted entityAssertion
objectSAML2Exception
- if the operation is not successfulpublic static void processAssertionIDRequestURI(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String samlAuthorityEntityID, String role, String realm) throws IOException
request
- the HttpServletRequest
objectresponse
- the HttpServletResponse
objectsamlAuthorityEntityID
- entity ID of SAML authorityrole
- SAML authority rolerealm
- the realm of hosted entityIOException
- if response can't be sentpublic static Response processAssertionIDRequest(AssertionIDRequest assertionIDRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String samlAuthorityEntityID, String role, String realm) throws SAML2Exception
AssertionIDRequest
coming
from a requester.assertionIDRequest
- the AssertionIDRequest
objectrequest
- the HttpServletRequest
objectresponse
- the HttpServletResponse
objectsamlAuthorityEntityID
- entity ID of SAML authorityrole
- the role of SAML authorityrealm
- the realm of SAML authorityResponse
objectSAML2Exception
- if the operation is not successfulCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.