Class AuthnQueryUtil

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

@Supported public class AuthnQueryUtil extends Object
This class provides methods to send or process AuthnQuery.
  • Method Details

    • sendAuthnQuery

      @Supported public static Response sendAuthnQuery(AuthnQuery authnQuery, String authnAuthorityEntityID, String realm, String binding) throws com.sun.identity.saml2.common.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:
      com.sun.identity.saml2.common.SAML2Exception - if the operation is not successful