Save This Page
Home » rampart-dist-1.4-src » org.apache » rahas » [javadoc | source]
org.apache.rahas
public interface: TokenValidator [javadoc | source]

All Known Implementing Classes:
    SAMLTokenValidator

Method from org.apache.rahas.TokenValidator Summary:
setConfigurationElement,   setConfigurationFile,   setConfigurationParamName,   validate
Method from org.apache.rahas.TokenValidator Detail:
 public  void setConfigurationElement(OMElement configElement)
    Set the configuration element of this TokenValidator. This is the <configuration> element of the token-dispatcher-configuration
 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
 public  void setConfigurationParamName(String configParamName)
    Set the name of the configuration parameter. If this is used then there must be a org.apache.axis2.description.Parameter object available in the via the messageContext when the TokenIssuer is called.
 public SOAPEnvelope validate(RahasData data) throws TrustException
    Validate the token specified in the given request.