Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.policyvalidators.DefaultClaimsPolicyValidator
All Implemented Interfaces:
ClaimsPolicyValidator

public class DefaultClaimsPolicyValidator
extends Object
implements ClaimsPolicyValidator

Validate a WS-SecurityPolicy Claims policy for the "http://schemas.xmlsoap.org/ws/2005/05/identity" namespace.


Constructor Summary
DefaultClaimsPolicyValidator()
           
 
Method Summary
 String getDialect()
          Return the dialect that this ClaimsPolicyValidator can parse
 boolean validatePolicy(Element claimsPolicy, org.apache.ws.security.saml.ext.AssertionWrapper assertion)
          Validate a particular Claims policy against a received SAML Assertion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClaimsPolicyValidator

public DefaultClaimsPolicyValidator()
Method Detail

validatePolicy

public boolean validatePolicy(Element claimsPolicy,
                              org.apache.ws.security.saml.ext.AssertionWrapper assertion)
Validate a particular Claims policy against a received SAML Assertion. Return true if the policy is valid.

Specified by:
validatePolicy in interface ClaimsPolicyValidator

getDialect

public String getDialect()
Return the dialect that this ClaimsPolicyValidator can parse

Specified by:
getDialect in interface ClaimsPolicyValidator

Apache CXF API

Apache CXF