org.apache.axis2.security.trust
Interface TokenIssuer

All Known Implementing Classes:
SCTIssuer

public interface TokenIssuer

The TokenIssuer


Method Summary
 String getResponseAction(org.apache.axiom.om.OMElement request, MessageContext inMsgCtx)
          Returns the wsa:Action of the response
 org.apache.axiom.soap.SOAPEnvelope issue(org.apache.axiom.om.OMElement request, MessageContext inMsgCtx)
          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.
 

Method Detail

issue

public org.apache.axiom.soap.SOAPEnvelope issue(org.apache.axiom.om.OMElement request,
                                                MessageContext inMsgCtx)
                                         throws TrustException
Create the response soap:Envelope for the given issue request.

Parameters:
request - The contents of the soap:Body as an OMElement
inMsgCtx - The incoming messagge context
Returns:
The response soap:Envelope for the given issue request.
Throws:
TrustException

getResponseAction

public String getResponseAction(org.apache.axiom.om.OMElement request,
                                MessageContext inMsgCtx)
                         throws TrustException
Returns the wsa:Action of the response

Parameters:
request - The contents of the soap:Body as an OMElement
inMsgCtx - The incoming messagge context
Returns:
Returns the wsa:Action of the response
Throws:
TrustException

setConfigurationFile

public void setConfigurationFile(String configFile)
Set the configuration file of this TokenIssuer. This is the text value of the <configuration-file> element of the token-dispatcher-configuration

Parameters:
configFile -

setConfigurationElement

public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
Set the configuration element of this TokenIssuer. This is the <configuration> element of the token-dispatcher-configuration

Parameters:
configElement - OMElement representing the configuation

setConfigurationParamName

public void setConfigurationParamName(String configParamName)
Set the name of the configuration parameter. 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.

Parameters:
configParamName -
See Also:
Parameter