Package org.apache.rahas
Interface TokenIssuer
- All Known Implementing Classes:
- SAML2TokenIssuer,- SAMLTokenIssuer,- SCTIssuer
public interface TokenIssuer
The 
TokenIssuer- 
Method SummaryModifier 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- 
issueCreate the responsesoap:Envelopefor the given issue request.- Parameters:
- data- A populated- RahasDatainstance
- Returns:
- The response soap:Envelopefor the given issue request.
- Throws:
- TrustException- If an error occurred while creating the token.
 
- 
getResponseActionReturns thewsa:Actionof the response.- Parameters:
- data- A populated- RahasDatainstance
- Returns:
- Returns the wsa:Actionof the response
- Throws:
- TrustException- If an error occurred while during operation.
 
- 
setConfigurationFileSet 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.
 
- 
setConfigurationElementvoid 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
 
- 
setConfigurationParamNameSet 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
 
 
 
-