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(org.w3c.dom.Element assertion, java.util.Map runtimeProps, javax.security.auth.Subject clientSubject)
          Note: The runtime already validates the Enveloped Signature for a HOK assertion before calling this validate() method
 void validate(javax.xml.stream.XMLStreamReader assertion, java.util.Map runtimeProps, javax.security.auth.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(org.w3c.dom.Element assertion,
              java.util.Map runtimeProps,
              javax.security.auth.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(javax.xml.stream.XMLStreamReader assertion,
              java.util.Map runtimeProps,
              javax.security.auth.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-2011 Oracle Corporation. All Rights Reserved.