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:Action
of the response.org.apache.axiom.soap.SOAPEnvelope
Create the responsesoap: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 Details
-
issue
Create the responsesoap:Envelope
for the given issue request.- Parameters:
data
- A populatedRahasData
instance- Returns:
- The response
soap:Envelope
for the given issue request. - Throws:
TrustException
- If an error occurred while creating the token.
-
getResponseAction
Returns thewsa:Action
of the response.- Parameters:
data
- A populatedRahasData
instance- Returns:
- Returns the
wsa:Action
of 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
-OMElement
representing the configuration
-
setConfigurationParamName
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 theTokenIssuer
is called.- Parameters:
configParamName
- The configuration parameter to be set.- See Also:
-
Parameter
-