Package org.apache.rahas
Interface TokenIssuer
- All Known Implementing Classes:
SAML2TokenIssuer,SAMLTokenIssuer,SCTIssuer
public interface TokenIssuer
The
TokenIssuer-
Method Summary
Modifier and TypeMethodDescriptiongetResponseAction(RahasData data) Returns thewsa:Actionof the response.org.apache.axiom.soap.SOAPEnvelopeCreate the responsesoap:Envelopefor the given issue request.voidsetConfigurationElement(org.apache.axiom.om.OMElement configElement) Set the configuration element of this TokenIssuer.voidsetConfigurationFile(String configFile) Set the configuration file of this TokenIssuer.voidsetConfigurationParamName(String configParamName) Set the name of the configuration parameter.
-
Method Details
-
issue
Create the responsesoap:Envelopefor the given issue request.- Parameters:
data- A populatedRahasDatainstance- Returns:
- The response
soap:Envelopefor the given issue request. - Throws:
TrustException- If an error occurred while creating the token.
-
getResponseAction
Returns thewsa:Actionof the response.- Parameters:
data- A populatedRahasDatainstance- Returns:
- Returns the
wsa:Actionof the response - Throws:
TrustException- If an error occurred while during operation.
-
setConfigurationFile
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-OMElementrepresenting the configuration
-
setConfigurationParamName
Set the name of the configuration parameter.If this is used then there must be a
org.apache.axis2.description.Parameterobject available in the via the messageContext when theTokenIssueris called.- Parameters:
configParamName- The configuration parameter to be set.- See Also:
-
Parameter
-