public interface TokenIssuer
TokenIssuer
Modifier and Type | Method and Description |
---|---|
String |
getResponseAction(RahasData data)
Returns the
wsa:Action of the response. |
org.apache.axiom.soap.SOAPEnvelope |
issue(RahasData data)
Create the response
soap:Envelope for the given issue
request. |
void |
setConfigurationElement(org.apache.axiom.om.OMElement configElement)
Set the configuration element of this TokenIssuer.
|
void |
setConfigurationFile(String configFile)
Set the configuration file of this TokenIssuer.
|
void |
setConfigurationParamName(String configParamName)
Set the name of the configuration parameter.
|
org.apache.axiom.soap.SOAPEnvelope issue(RahasData data) throws TrustException
soap:Envelope
for the given issue
request.data
- A populated RahasData
instancesoap:Envelope
for the given issue
request.TrustException
- If an error occurred while creating the token.String getResponseAction(RahasData data) throws TrustException
wsa:Action
of the response.data
- A populated RahasData
instancewsa:Action
of the responseTrustException
- If an error occurred while during operation.void setConfigurationFile(String configFile)
This is the text value of the <configuration-file> element of the token-dispatcher-configuration
configFile
- Sets the token issuer configuration file.void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
This is the <configuration> element of the token-dispatcher-configuration
configElement
- OMElement
representing the configurationvoid 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 TokenIssuer
is called.
configParamName
- The configuration parameter to be set.Parameter
Copyright © Apache Software Foundation. All Rights Reserved.