Class AuthnQueryUtil


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

      • sendAuthnQuery

        @Supported
        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