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, KerberosTokenPolicyValidator, SecurityContextTokenPolicyValidator, UsernameTokenPolicyValidator, 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(Token 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
Apache CXF