com.sun.identity.saml2.profile
Class AuthnQueryUtil
java.lang.Object
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. |
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
objectauthnAuthorityEntityID
- entity ID of authentication authorityrealm
- the realm of hosted entitybinding
- the binding
- Returns:
- the
Response
object
- Throws:
SAML2Exception
- if the operation is not successful