Class SAML20AssertionTokenValidationInput
- java.lang.Object
-
- org.opensaml.saml.saml2.wssecurity.messaging.impl.SAML20AssertionTokenValidationInput
-
public class SAML20AssertionTokenValidationInput extends Object
Class which holds messaging data relevant to validating a WS-Security SAML 2.0 Assertion token.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.saml.saml2.core.AssertionassertionThe Assertion being evaluated.private javax.servlet.http.HttpServletRequesthttpServletRequestThe HTTP request input.private org.opensaml.messaging.context.MessageContextmessageContextThe message context input.
-
Constructor Summary
Constructors Constructor Description SAML20AssertionTokenValidationInput(org.opensaml.messaging.context.MessageContext context, javax.servlet.http.HttpServletRequest request, org.opensaml.saml.saml2.core.Assertion samlAssertion)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml2.core.AssertiongetAssertion()Get theAssertionbeing evaluated.javax.servlet.http.HttpServletRequestgetHttpServletRequest()Get theHttpServletRequestinput.org.opensaml.messaging.context.MessageContextgetMessageContext()Get theMessageContextinput.
-
-
-
Field Detail
-
messageContext
private org.opensaml.messaging.context.MessageContext messageContext
The message context input.
-
httpServletRequest
private javax.servlet.http.HttpServletRequest httpServletRequest
The HTTP request input.
-
assertion
private org.opensaml.saml.saml2.core.Assertion assertion
The Assertion being evaluated.
-
-
Constructor Detail
-
SAML20AssertionTokenValidationInput
public SAML20AssertionTokenValidationInput(@Nonnull org.opensaml.messaging.context.MessageContext context, @Nonnull javax.servlet.http.HttpServletRequest request, @Nonnull org.opensaml.saml.saml2.core.Assertion samlAssertion)Constructor.- Parameters:
context- the message context being evaluatedrequest- the HTTP request being evaluatedsamlAssertion- the assertion being evaluated
-
-
Method Detail
-
getMessageContext
@Nonnull public org.opensaml.messaging.context.MessageContext getMessageContext()
Get theMessageContextinput.- Returns:
- the message context input
-
getHttpServletRequest
@Nonnull public javax.servlet.http.HttpServletRequest getHttpServletRequest()
Get theHttpServletRequestinput.- Returns:
- the HTTP servlet request input
-
getAssertion
@Nonnull public org.opensaml.saml.saml2.core.Assertion getAssertion()
Get theAssertionbeing evaluated.- Returns:
- the Assertion being validated
-
-