com.sun.identity.saml2.profile
Class AuthnQueryUtil

java.lang.Object
  extended by com.sun.identity.saml2.profile.AuthnQueryUtil

public class AuthnQueryUtil
extends Object

This class provides methods to send or processs AuthnQuery.


Method Summary
static Response 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.
 

Method Detail

sendAuthnQuery

public static Response sendAuthnQuery(AuthnQuery authnQuery,
                                      String authnAuthorityEntityID,
                                      String realm,
                                      String binding)
                               throws SAML2Exception
This method sends the AuthnQuery to specifiied authentication authority and returns Response coming from the authentication authority.

Parameters:
authnQuery - the AuthnQuery object
authnAuthorityEntityID - entity ID of authentication authority
realm - the realm of hosted entity
binding - the binding
Returns:
the Response object
Throws:
SAML2Exception - if the operation is not successful