Package 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 processAuthnQuery.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResponseprocessAuthnQuery(AuthnQuery authnQuery, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String authnAuthorityEntityID, String realm)This method processes theAuthnQuerycoming from a requester.static ResponsesendAuthnQuery(AuthnQuery authnQuery, String authnAuthorityEntityID, String realm, String binding)This method sends theAuthnQueryto specifiied authentication authority and returnsResponsecoming from the authentication authority.
-
-
-
Method Detail
-
sendAuthnQuery
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
-
processAuthnQuery
public static Response processAuthnQuery(AuthnQuery authnQuery, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String authnAuthorityEntityID, String realm) throws SAML2Exception
This method processes theAuthnQuerycoming from a requester.- Parameters:
authnQuery- theAuthnQueryobjectrequest- theHttpServletRequestobjectresponse- theHttpServletResponseobjectauthnAuthorityEntityID- entity ID of authentication authorityrealm- the realm of hosted entity- Returns:
- the
Responseobject - Throws:
SAML2Exception- if the operation is not successful
-
-