com.sun.xml.wss.impl.callback
Interface SAMLValidator

All Superinterfaces:
SAMLAssertionValidator

public interface SAMLValidator
extends SAMLAssertionValidator

Author:
kumar.jayanti

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.wss.impl.callback.SAMLAssertionValidator
SAMLAssertionValidator.SAMLValidationException
 
Method Summary
 void validate(Element assertion, Map runtimeProps, Subject clientSubject)
          Note: The runtime already validates the Enveloped Signature for a HOK assertion before calling this validate() method
 void validate(XMLStreamReader assertion, Map runtimeProps, Subject clientSubject)
          Note: The runtime already validates the Enveloped Signature for a HOK assertion before calling this validate() method
 
Methods inherited from interface com.sun.xml.wss.impl.callback.SAMLAssertionValidator
validate, validate
 

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:
SAMLValidationException - if the validation of the SAML Assertion fails
SAMLAssertionValidator.SAMLValidationException

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:
SAMLValidationException - if the validation of the SAML Assertion fails
SAMLAssertionValidator.SAMLValidationException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.