public class SAMLTokenValidator extends Object implements TokenValidator
| Constructor and Description |
|---|
SAMLTokenValidator() |
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.saml2.core.Assertion |
buildAssertion(String elem) |
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 org.opensaml.saml2.core.Assertion buildAssertion(String elem) throws org.apache.ws.security.WSSecurityException
org.apache.ws.security.WSSecurityExceptionpublic void setConfigurationFile(String configFile)
setConfigurationFile in interface TokenValidatorconfigFile - public void setConfigurationParamName(String configParamName)
org.apache.axis2.description.Parameter
object available in the via the messageContext when the
TokenValidator is called.setConfigurationParamName in interface TokenValidatorconfigParamName - Parameterpublic void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenValidatorsetConfigurationElement in interface TokenValidatorconfigElement - OMElement representing the configurationCopyright © 2005–2019 Apache Software Foundation. All rights reserved.