Interface SAMLValidator

    • Method Detail

      • validate

        void validate​(Element assertion,
                      Map runtimeProps,
                      Subject clientSubject)
               throws SAMLAssertionValidator.SAMLValidationException
        Note: The runtime already validates the Enveloped Signature for a HOK assertion before calling this validate() method
        Parameters:
        assertion - The assertion as a DOM Element
        runtimeProps - the runtime properties associated with this request
        clientSubject - the Subject of the sender which can be updated after validation with principal/credential information
        Throws:
        SAMLAssertionValidator.SAMLValidationException - if the validation of the SAML Assertion fails
      • validate

        void validate​(XMLStreamReader assertion,
                      Map runtimeProps,
                      Subject clientSubject)
               throws SAMLAssertionValidator.SAMLValidationException
        Note: The runtime already validates the Enveloped Signature for a HOK assertion before calling this validate() method
        Parameters:
        assertion - The assertion as an XMLStreamReader
        runtimeProps - the runtime properties associated with this request
        clientSubject - the Subject of the sender which can be updated after validation with principal/credential information
        Throws:
        SAMLAssertionValidator.SAMLValidationException - if the validation of the SAML Assertion fails