Package com.sun.identity.saml2.profile
Class AssertionIDRequestUtil
java.lang.Object
com.sun.identity.saml2.profile.AssertionIDRequestUtil
This class provides methods to send or process
AssertionIDRequest.-
Method Summary
Modifier and TypeMethodDescriptionstatic ResponsesendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding) Sends theAssertionIDRequestto specifiied Assertion ID Request Service and returnsResponsecoming from the Assertion ID Request Service.static AssertionsendAssertionIDRequestURI(String assertionID, String samlAuthorityEntityID, String role, String realm) Sends the Assertion ID to specifiied Assertion ID Request Service and returnsAssertioncoming from the Assertion ID Request Service.
-
Method Details
-
sendAssertionIDRequest
@Supported public static Response sendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding) throws SAML2Exception Sends theAssertionIDRequestto specifiied Assertion ID Request Service and returnsResponsecoming from the Assertion ID Request Service.- Parameters:
assertionIDRequest- theAssertionIDRequestobjectsamlAuthorityEntityID- entity ID of SAML authorityrole- SAML authority role, for example,SAML2Constants.ATTR_AUTH_ROLE,SAML2Constants.AUTHN_AUTH_ROLEorSAML2Constants.IDP_ROLErealm- the realm of hosted entitybinding- the binding- Returns:
- the
Responseobject - 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 returnsAssertioncoming from the Assertion ID Request Service.- Parameters:
assertionID- theasssertionIDobjectsamlAuthorityEntityID- entity ID of SAML authorityrole- SAML authority role, for example,SAML2Constants.ATTR_AUTH_ROLE,SAML2Constants.AUTHN_AUTH_ROLEorSAML2Constants.IDP_ROLErealm- the realm of hosted entity- Returns:
- the
Assertionobject - Throws:
SAML2Exception- if the operation is not successful
-