Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
      extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSupportingTokenPolicyValidator
          extended by org.apache.cxf.ws.security.wss4j.policyvalidators.EndorsingTokenPolicyValidator
All Implemented Interfaces:
SupportingTokenPolicyValidator

public class EndorsingTokenPolicyValidator
extends AbstractSupportingTokenPolicyValidator

Validate an EndorsingSupportingToken policy.


Constructor Summary
EndorsingTokenPolicyValidator()
           
 
Method Summary
 boolean validatePolicy(AssertionInfoMap aim, Message message, List<org.apache.wss4j.dom.WSSecurityEngineResult> results, List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults, List<org.apache.wss4j.dom.WSSecurityEngineResult> encryptedResults)
          Validate a particular policy from the AssertionInfoMap argument.
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSupportingTokenPolicyValidator
processKerberosTokens, processKeyValueTokens, processSAMLTokens, processSCTokens, processUsernameTokens, processX509Tokens, setDerived, setEncrypted, setEncryptedElements, setEncryptedParts, setEncryptedResults, setEndorsed, setMessage, setResults, setSAMLTokenResults, setSigned, setSignedElements, setSignedParts, setSignedResults, setTimestamp, setTimestampElement, setUsernameTokenResults, setUtResults, setValidateUsernameToken
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
assertPolicy, assertPolicy, getAllAssertionsByLocalname, isTokenRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndorsingTokenPolicyValidator

public EndorsingTokenPolicyValidator()
Method Detail

validatePolicy

public boolean validatePolicy(AssertionInfoMap aim,
                              Message message,
                              List<org.apache.wss4j.dom.WSSecurityEngineResult> results,
                              List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults,
                              List<org.apache.wss4j.dom.WSSecurityEngineResult> encryptedResults)
Description copied from interface: SupportingTokenPolicyValidator
Validate a particular policy from the AssertionInfoMap argument. Return true if the policy is valid.


Apache CXF API

Apache CXF