Class SAML20AssertionTokenValidationInput
java.lang.Object
org.opensaml.saml.saml2.wssecurity.messaging.impl.SAML20AssertionTokenValidationInput
Class which holds messaging data relevant to validating a WS-Security SAML 2.0 Assertion token.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Assertion
The Assertion being evaluated.private javax.servlet.http.HttpServletRequest
The HTTP request input.private MessageContext
The message context input. -
Constructor Summary
ConstructorsConstructorDescriptionSAML20AssertionTokenValidationInput
(MessageContext context, javax.servlet.http.HttpServletRequest request, Assertion samlAssertion) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet theAssertion
being evaluated.javax.servlet.http.HttpServletRequest
Get theHttpServletRequest
input.Get theMessageContext
input.
-
Field Details
-
messageContext
The message context input. -
httpServletRequest
private javax.servlet.http.HttpServletRequest httpServletRequestThe HTTP request input. -
assertion
The Assertion being evaluated.
-
-
Constructor Details
-
SAML20AssertionTokenValidationInput
public SAML20AssertionTokenValidationInput(@Nonnull MessageContext context, @Nonnull javax.servlet.http.HttpServletRequest request, @Nonnull Assertion samlAssertion) Constructor.- Parameters:
context
- the message context being evaluatedrequest
- the HTTP request being evaluatedsamlAssertion
- the assertion being evaluated
-
-
Method Details
-
getMessageContext
Get theMessageContext
input.- Returns:
- the message context input
-
getHttpServletRequest
@Nonnull public javax.servlet.http.HttpServletRequest getHttpServletRequest()Get theHttpServletRequest
input.- Returns:
- the HTTP servlet request input
-
getAssertion
Get theAssertion
being evaluated.- Returns:
- the Assertion being validated
-