Apache CXF API

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

All Known Implementing Classes:
AbstractSupportingTokenPolicyValidator, ConcreteSupportingTokenPolicyValidator, EncryptedTokenPolicyValidator, EndorsingEncryptedTokenPolicyValidator, EndorsingTokenPolicyValidator, SignedEncryptedTokenPolicyValidator, SignedEndorsingEncryptedTokenPolicyValidator, SignedEndorsingTokenPolicyValidator, SignedTokenPolicyValidator

public interface SupportingTokenPolicyValidator

Validate a WS-SecurityPolicy corresponding to a SupportingToken.


Method Summary
 void setSAMLTokenResults(List<org.apache.wss4j.dom.WSSecurityEngineResult> samlResultsList)
          Set the list of SAMLToken results
 void setTimestampElement(Element timestampElement)
          Set the Timestamp element
 void setUsernameTokenResults(List<org.apache.wss4j.dom.WSSecurityEngineResult> utResultsList, boolean valUsernameToken)
          Set the list of UsernameToken results
 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.
 

Method Detail

setUsernameTokenResults

void setUsernameTokenResults(List<org.apache.wss4j.dom.WSSecurityEngineResult> utResultsList,
                             boolean valUsernameToken)
Set the list of UsernameToken results


setSAMLTokenResults

void setSAMLTokenResults(List<org.apache.wss4j.dom.WSSecurityEngineResult> samlResultsList)
Set the list of SAMLToken results


setTimestampElement

void setTimestampElement(Element timestampElement)
Set the Timestamp element


validatePolicy

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


Apache CXF API

Apache CXF