Apache CXF API

org.apache.cxf.ws.security.wss4j.policyvalidators
Class SamlTokenPolicyValidator

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
      extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSamlPolicyValidator
          extended by org.apache.cxf.ws.security.wss4j.policyvalidators.SamlTokenPolicyValidator
All Implemented Interfaces:
TokenPolicyValidator

public class SamlTokenPolicyValidator
extends AbstractSamlPolicyValidator
implements TokenPolicyValidator

Validate a SamlToken policy.


Constructor Summary
SamlTokenPolicyValidator()
           
 
Method Summary
 boolean validatePolicy(AssertionInfoMap aim, Message message, Element soapBody, List<org.apache.ws.security.WSSecurityEngineResult> results, List<org.apache.ws.security.WSSecurityEngineResult> signedResults)
          Validate a particular policy from the AssertionInfoMap argument.
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSamlPolicyValidator
checkHolderOfKey, isTokenRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamlTokenPolicyValidator

public SamlTokenPolicyValidator()
Method Detail

validatePolicy

public boolean validatePolicy(AssertionInfoMap aim,
                              Message message,
                              Element soapBody,
                              List<org.apache.ws.security.WSSecurityEngineResult> results,
                              List<org.apache.ws.security.WSSecurityEngineResult> signedResults)
Description copied from interface: TokenPolicyValidator
Validate a particular policy from the AssertionInfoMap argument. Return true if the policy is valid.

Specified by:
validatePolicy in interface TokenPolicyValidator

Apache CXF API

Apache CXF