Class ValidateAssertions.AssertionValidationInput

  • Enclosing class:
    ValidateAssertions

    public class ValidateAssertions.AssertionValidationInput
    extends Object
    Class which holds data relevant to validating a SAML 2.0 Assertion.
    • Field Detail

      • profileContext

        private org.opensaml.profile.context.ProfileRequestContext profileContext
        The profile request 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

      • AssertionValidationInput

        public AssertionValidationInput​(@Nonnull
                                        org.opensaml.profile.context.ProfileRequestContext context,
                                        @Nonnull
                                        javax.servlet.http.HttpServletRequest request,
                                        @Nonnull
                                        org.opensaml.saml.saml2.core.Assertion samlAssertion)
        Constructor.
        Parameters:
        context - the profile request context being evaluated
        request - the HTTP request being evaluated
        samlAssertion - the assertion being evaluated
    • Method Detail

      • getProfileRequestContext

        @Nonnull
        public org.opensaml.profile.context.ProfileRequestContext getProfileRequestContext()
        Get the ProfileRequestContext input.
        Returns:
        the message context input
      • getHttpServletRequest

        @Nonnull
        public javax.servlet.http.HttpServletRequest getHttpServletRequest()
        Get the HttpServletRequest input.
        Returns:
        the HTTP servlet request input
      • getAssertion

        @Nonnull
        public org.opensaml.saml.saml2.core.Assertion getAssertion()
        Get the Assertion being evaluated.
        Returns:
        the Assertion being validated