org.apache.cxf.ws.security.wss4j.policyvalidators
Class DefaultClaimsPolicyValidator
java.lang.Object
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.
Method Summary |
String |
getDialect()
Return the dialect that this ClaimsPolicyValidator can parse |
boolean |
validatePolicy(Element claimsPolicy,
org.apache.wss4j.common.saml.SamlAssertionWrapper 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 |
DefaultClaimsPolicyValidator
public DefaultClaimsPolicyValidator()
validatePolicy
public boolean validatePolicy(Element claimsPolicy,
org.apache.wss4j.common.saml.SamlAssertionWrapper 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