Apache CXF API

org.apache.cxf.ws.security.wss4j.policyvalidators
Class AbstractTokenPolicyValidator

java.lang.Object
  extended by 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.


Constructor Summary
AbstractTokenPolicyValidator()
           
 
Method Summary
protected  boolean isTokenRequired(Token token, Message message)
          Check to see if a token is required or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTokenPolicyValidator

public AbstractTokenPolicyValidator()
Method Detail

isTokenRequired

protected boolean isTokenRequired(Token token,
                                  Message message)
Check to see if a token is required or not.

Parameters:
token - the token
message - The message
Returns:
true if the token is required

Apache CXF API

Apache CXF