Package com.sun.identity.saml2.profile
Class AuthnQueryUtil
java.lang.Object
com.sun.identity.saml2.profile.AuthnQueryUtil
This class provides methods to send or process
AuthnQuery.-
Method Summary
Modifier and TypeMethodDescriptionstatic ResponsesendAuthnQuery(AuthnQuery authnQuery, String authnAuthorityEntityID, String realm, String binding) This method sends theAuthnQueryto specifiied authentication authority and returnsResponsecoming from the authentication authority.
-
Method Details
-
sendAuthnQuery
@Supported public static Response sendAuthnQuery(AuthnQuery authnQuery, String authnAuthorityEntityID, String realm, String binding) throws SAML2Exception This method sends theAuthnQueryto specifiied authentication authority and returnsResponsecoming from the authentication authority.- Parameters:
authnQuery- theAuthnQueryobjectauthnAuthorityEntityID- entity ID of authentication authorityrealm- the realm of hosted entitybinding- the binding- Returns:
- the
Responseobject - Throws:
SAML2Exception- if the operation is not successful
-