Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
      extended by org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSamlPolicyValidator
          extended by org.apache.cxf.ws.security.wss4j.policyvalidators.IssuedTokenPolicyValidator

public class IssuedTokenPolicyValidator
extends AbstractSamlPolicyValidator

Validate a WSSecurityEngineResult corresponding to the processing of a SAML Assertion or Kerberos token against an IssuedToken policy.


Constructor Summary
IssuedTokenPolicyValidator(List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults, Message message)
           
 
Method Summary
 boolean validatePolicy(Collection<AssertionInfo> ais, org.apache.wss4j.dom.message.token.BinarySecurity binarySecurityToken)
           
 boolean validatePolicy(Collection<AssertionInfo> ais, org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper)
           
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSamlPolicyValidator
checkHolderOfKey, compareCredentials, isTokenRequired
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
assertPolicy, assertPolicy, getAllAssertionsByLocalname
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssuedTokenPolicyValidator

public IssuedTokenPolicyValidator(List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults,
                                  Message message)
Method Detail

validatePolicy

public boolean validatePolicy(Collection<AssertionInfo> ais,
                              org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper)

validatePolicy

public boolean validatePolicy(Collection<AssertionInfo> ais,
                              org.apache.wss4j.dom.message.token.BinarySecurity binarySecurityToken)

Apache CXF API

Apache CXF