Module org.elasticsearch.security
Class SamlResponseHandler
java.lang.Object
org.elasticsearch.xpack.security.authc.saml.SamlObjectHandler
org.elasticsearch.xpack.security.authc.saml.SamlResponseHandler
- Direct Known Subclasses:
SamlLogoutResponseHandler
-
Field Summary
Fields inherited from class org.elasticsearch.xpack.security.authc.saml.SamlObjectHandler
decrypter, logger, SAML_NAMESPACE -
Constructor Summary
ConstructorsConstructorDescriptionSamlResponseHandler(Clock clock, org.elasticsearch.xpack.security.authc.saml.IdpConfiguration idp, SpConfiguration sp, org.elasticsearch.core.TimeValue maxSkew) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckInResponseTo(org.opensaml.saml.saml2.core.StatusResponseType response, Collection<String> allowedSamlRequestIds) protected static voidcheckResponseDestination(org.opensaml.saml.saml2.core.StatusResponseType response, String spConfiguredUrl) protected static voidcheckStatus(org.opensaml.saml.saml2.core.Status status) protected static StringgetStatusCodeMessage(org.opensaml.saml.saml2.core.Status status) protected static booleanisSuccess(org.opensaml.saml.saml2.core.Status status) Methods inherited from class org.elasticsearch.xpack.security.authc.saml.SamlObjectHandler
checkIdpSignature, checkIssuer, decodeBase64, describe, describe, getSpConfiguration, inflate, maxSkewInMillis, now, parseQueryStringAndValidateSignature, parseSamlMessage, text, text, validateNotOnOrAfter
-
Constructor Details
-
SamlResponseHandler
public SamlResponseHandler(Clock clock, org.elasticsearch.xpack.security.authc.saml.IdpConfiguration idp, SpConfiguration sp, org.elasticsearch.core.TimeValue maxSkew)
-
-
Method Details
-
checkInResponseTo
protected void checkInResponseTo(org.opensaml.saml.saml2.core.StatusResponseType response, Collection<String> allowedSamlRequestIds) -
getStatusCodeMessage
-
checkResponseDestination
protected static void checkResponseDestination(org.opensaml.saml.saml2.core.StatusResponseType response, String spConfiguredUrl) -
checkStatus
protected static void checkStatus(org.opensaml.saml.saml2.core.Status status) -
isSuccess
protected static boolean isSuccess(org.opensaml.saml.saml2.core.Status status)
-