public class UsernameTokenPolicyValidator extends AbstractSecurityPolicyValidator
Constructor and Description |
---|
UsernameTokenPolicyValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canValidatePolicy(AssertionInfo assertionInfo)
Return true if this SecurityPolicyValidator implementation is capable of validating a
policy defined by the AssertionInfo parameter
|
boolean |
checkTokens(org.apache.wss4j.policy.model.UsernameToken usernameTokenPolicy,
AssertionInfo ai,
List<org.apache.wss4j.dom.engine.WSSecurityEngineResult> utResults)
All UsernameTokens must conform to the policy
|
void |
validatePolicies(PolicyValidatorParameters parameters,
Collection<AssertionInfo> ais)
Validate policies.
|
isTokenRequired
public boolean canValidatePolicy(AssertionInfo assertionInfo)
public void validatePolicies(PolicyValidatorParameters parameters, Collection<AssertionInfo> ais)
public boolean checkTokens(org.apache.wss4j.policy.model.UsernameToken usernameTokenPolicy, AssertionInfo ai, List<org.apache.wss4j.dom.engine.WSSecurityEngineResult> utResults)
Apache CXF