org.apache.axis2.security.trust
Interface TokenValidator


public interface TokenValidator


Method Summary
 void setConfigurationElement(String configElement)
          Set the configuration element of this TokenValidator.
 void setConfigurationFile(String configFile)
          Set the configuration file of this TokenValidator.
 org.apache.axiom.soap.SOAPEnvelope validate(org.apache.axiom.om.OMElement request, MessageContext msgCtx)
           
 

Method Detail

validate

public org.apache.axiom.soap.SOAPEnvelope validate(org.apache.axiom.om.OMElement request,
                                                   MessageContext msgCtx)
                                            throws TrustException
Throws:
TrustException

setConfigurationFile

public void setConfigurationFile(String configFile)
Set the configuration file of this TokenValidator. This is the text value of the <configuration-file> element of the token-dispatcher-configuration

Parameters:
configFile -

setConfigurationElement

public void setConfigurationElement(String configElement)
Set the configuration element of this TokenValidator. This is the <configuration> element of the token-dispatcher-configuration

Parameters:
configElement - OMElement representing the configuation