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 TokenValidator
data
- the RahasData object, containing information about the
request.TrustException
public void setConfigurationFile(String configFile)
This is the text value of the <configuration-file> element of the token-dispatcher-configuration
setConfigurationFile
in interface TokenValidator
configFile
- 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 TokenValidator
configParamName
- Parameter name.Parameter
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenValidator
setConfigurationElement
in interface TokenValidator
configElement
- OMElement
representing the configurationCopyright © Apache Software Foundation. All Rights Reserved.