Apache CXF API

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

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.EncryptedTokenPolicyValidator
All Implemented Interfaces:
SupportingTokenPolicyValidator

public class EncryptedTokenPolicyValidator
extends AbstractSupportingTokenPolicyValidator

Validate an EncryptedSupportingToken policy.


Constructor Summary
EncryptedTokenPolicyValidator()
           
 
Method Summary
 boolean validatePolicy(AssertionInfoMap aim, Message message, List<org.apache.ws.security.WSSecurityEngineResult> results, List<org.apache.ws.security.WSSecurityEngineResult> signedResults, List<org.apache.ws.security.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
isTokenRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedTokenPolicyValidator

public EncryptedTokenPolicyValidator()
Method Detail

validatePolicy

public boolean validatePolicy(AssertionInfoMap aim,
                              Message message,
                              List<org.apache.ws.security.WSSecurityEngineResult> results,
                              List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
                              List<org.apache.ws.security.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