public class SAMLTokenValidator extends Object implements TokenValidator
| Constructor and Description |
|---|
SAMLTokenValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
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(RahasData data)
Returns a SOAPEnvelope with the result of the validation.
|
public org.apache.axiom.soap.SOAPEnvelope validate(RahasData data) throws TrustException
validate in interface TokenValidatordata - the RahasData object, containing information about the
request.TrustExceptionpublic void setConfigurationFile(String configFile)
This is the text value of the <configuration-file> element of the token-dispatcher-configuration
setConfigurationFile in interface TokenValidatorconfigFile - configuration file to be used.public void setConfigurationParamName(String configParamName)
If this is used then
there must be a org.apache.axis2.description.Parameter
object available in the via the messageContext when the
TokenValidator is called.
setConfigurationParamName in interface TokenValidatorconfigParamName - Parameter name.Parameterpublic void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenValidatorsetConfigurationElement in interface TokenValidatorconfigElement - OMElement representing the configurationCopyright © Apache Software Foundation. All Rights Reserved.