Apache CXF API

org.apache.cxf.ws.security.wss4j.policyvalidators
Interface TokenPolicyValidator

All Known Implementing Classes:
SamlTokenPolicyValidator, SecurityContextTokenPolicyValidator, UsernameTokenPolicyValidator, WSS11PolicyValidator, X509TokenPolicyValidator

public interface TokenPolicyValidator

Validate a WS-SecurityPolicy corresponding to a received token.


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.
 

Method Detail

validatePolicy

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. Return true if the policy is valid.


Apache CXF API

Apache CXF