Package com.sun.identity.saml2.profile
Class AssertionIDRequestUtil
- java.lang.Object
-
- com.sun.identity.saml2.profile.AssertionIDRequestUtil
-
@Supported public class AssertionIDRequestUtil extends Object
This class provides methods to send or processAssertionIDRequest
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Response
sendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding)
Sends theAssertionIDRequest
to specifiied Assertion ID Request Service and returnsResponse
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 returnsAssertion
coming from the Assertion ID Request Service.
-
-
-
Method Detail
-
sendAssertionIDRequest
@Supported public static Response sendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding) throws SAML2Exception
Sends theAssertionIDRequest
to specifiied Assertion ID Request Service and returnsResponse
coming from the Assertion ID Request Service.- Parameters:
assertionIDRequest
- theAssertionIDRequest
objectsamlAuthorityEntityID
- entity ID of SAML authorityrole
- SAML authority role, for example,SAML2Constants.ATTR_AUTH_ROLE
,SAML2Constants.AUTHN_AUTH_ROLE
orSAML2Constants.IDP_ROLE
realm
- the realm of hosted entitybinding
- the binding- Returns:
- the
Response
object - Throws:
SAML2Exception
- if the operation is not successful
-
sendAssertionIDRequestURI
@Supported public static Assertion sendAssertionIDRequestURI(String assertionID, String samlAuthorityEntityID, String role, String realm) throws SAML2Exception
Sends the Assertion ID to specifiied Assertion ID Request Service and returnsAssertion
coming from the Assertion ID Request Service.- Parameters:
assertionID
- theasssertionID
objectsamlAuthorityEntityID
- entity ID of SAML authorityrole
- SAML authority role, for example,SAML2Constants.ATTR_AUTH_ROLE
,SAML2Constants.AUTHN_AUTH_ROLE
orSAML2Constants.IDP_ROLE
realm
- the realm of hosted entity- Returns:
- the
Assertion
object - Throws:
SAML2Exception
- if the operation is not successful
-
-