Package org.apache.rahas
Interface TokenValidator
- All Known Implementing Classes:
SAMLTokenValidator
public interface TokenValidator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setConfigurationElement
(org.apache.axiom.om.OMElement configElement) Set the configuration element of this TokenValidator.void
setConfigurationFile
(String configFile) Set the configuration file of this TokenValidator.void
setConfigurationParamName
(String configParamName) Set the name of the configuration parameter.org.apache.axiom.soap.SOAPEnvelope
Validate the token specified in the given request.
-
Method Details
-
validate
Validate the token specified in the given request.- Parameters:
data
- A populatedRahasData
instance- Returns:
- Response SOAPEnveloper
- Throws:
TrustException
-
setConfigurationFile
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
void setConfigurationElement(org.apache.axiom.om.OMElement configElement) Set the configuration element of this TokenValidator. This is the <configuration> element of the token-dispatcher-configuration- Parameters:
configElement
-OMElement
representing the configuration
-
setConfigurationParamName
Set the name of the configuration parameter. If this is used then there must be aorg.apache.axis2.description.Parameter
object available in the via the messageContext when theTokenIssuer
is called.- Parameters:
configParamName
-- See Also:
-
Parameter
-