org.apache.rahas
Interface TokenIssuer

All Known Implementing Classes:
SAMLTokenIssuer, SCTIssuer

public interface TokenIssuer

The TokenIssuer


Method Summary
 java.lang.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(java.lang.String configFile)
          Set the configuration file of this TokenIssuer.
 void setConfigurationParamName(java.lang.String configParamName)
          Set the name of the configuration parameter.
 

Method Detail

issue

org.apache.axiom.soap.SOAPEnvelope issue(RahasData data)
                                         throws TrustException
Create the response soap:Envelope for the given issue request.

Parameters:
data - A populated RahasData instance
Returns:
The response soap:Envelope for the given issue request.
Throws:
TrustException

getResponseAction

java.lang.String getResponseAction(RahasData data)
                                   throws TrustException
Returns the wsa:Action of the response.

Parameters:
data - A populated RahasData instance
Returns:
Returns the wsa:Action of the response
Throws:
TrustException

setConfigurationFile

void setConfigurationFile(java.lang.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

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 configuration

setConfigurationParamName

void setConfigurationParamName(java.lang.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