org.apache.cxf.ws.security.wss4j.policyvalidators
Class AbstractTokenPolicyValidator
java.lang.Object
org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator
- Direct Known Subclasses:
- AbstractSamlPolicyValidator, AbstractSupportingTokenPolicyValidator, AlgorithmSuitePolicyValidator, KerberosTokenPolicyValidator, LayoutPolicyValidator, SecurityContextTokenPolicyValidator, UsernameTokenPolicyValidator, WSS11PolicyValidator, X509TokenPolicyValidator
public abstract class AbstractTokenPolicyValidator
- extends Object
Some abstract functionality for validating a Security Token.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTokenPolicyValidator
public AbstractTokenPolicyValidator()
isTokenRequired
protected boolean isTokenRequired(org.apache.wss4j.policy.model.AbstractToken token,
Message message)
- Check to see if a token is required or not.
- Parameters:
token
- the tokenmessage
- The message
- Returns:
- true if the token is required
assertPolicy
protected boolean assertPolicy(AssertionInfoMap aim,
QName name)
assertPolicy
protected boolean assertPolicy(AssertionInfoMap aim,
String localname)
getAllAssertionsByLocalname
protected Collection<AssertionInfo> getAllAssertionsByLocalname(AssertionInfoMap aim,
String localname)
Apache CXF