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

Method Detail

setUsernameTokenResults

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


setSAMLTokenResults

void setSAMLTokenResults(List<org.apache.ws.security.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.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. Return true if the policy is valid.


Apache CXF API

Apache CXF