public class UsernameTokenPolicyValidator extends AbstractSecurityPolicyValidator
Constructor and Description |
---|
UsernameTokenPolicyValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canValidatePolicy(org.apache.cxf.ws.policy.AssertionInfo assertionInfo)
Return true if this SecurityPolicyValidator implementation is capable of validating a
policy defined by the AssertionInfo parameter
|
boolean |
checkTokens(UsernameToken usernameTokenPolicy,
org.apache.cxf.ws.policy.AssertionInfo ai,
List<WSSecurityEngineResult> utResults)
All UsernameTokens must conform to the policy
|
void |
validatePolicies(PolicyValidatorParameters parameters,
Collection<org.apache.cxf.ws.policy.AssertionInfo> ais)
Validate policies.
|
isTokenRequired
public boolean canValidatePolicy(org.apache.cxf.ws.policy.AssertionInfo assertionInfo)
public void validatePolicies(PolicyValidatorParameters parameters, Collection<org.apache.cxf.ws.policy.AssertionInfo> ais)
public boolean checkTokens(UsernameToken usernameTokenPolicy, org.apache.cxf.ws.policy.AssertionInfo ai, List<WSSecurityEngineResult> utResults)
Copyright © 2016 JBoss by Red Hat. All rights reserved.