Interface TokenIssuer

All Known Implementing Classes:
SAML2TokenIssuer, SAMLTokenIssuer, SCTIssuer

public interface TokenIssuer
The TokenIssuer
  • Method Details

    • 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 - If an error occurred while creating the token.
    • getResponseAction

      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 - If an error occurred while during operation.
    • setConfigurationFile

      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 - Sets the token issuer configuration file.
    • 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(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 - The configuration parameter to be set.
      See Also:
      • Parameter