Package org.apache.rahas.impl
Class SCTIssuer
java.lang.Object
org.apache.rahas.impl.SCTIssuer
- All Implemented Interfaces:
TokenIssuer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResponseAction
(RahasData data) Returns thewsa:Action
of the response.org.apache.axiom.soap.SOAPEnvelope
Issue aSecurityContextToken
based on the wsse:Signature or wsse:UsernameTokenvoid
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.
-
Field Details
-
COMPUTED_KEY
- See Also:
-
-
Constructor Details
-
SCTIssuer
public SCTIssuer()
-
-
Method Details
-
issue
Issue aSecurityContextToken
based on the wsse:Signature or wsse:UsernameTokenThis will support returning the SecurityContextToken with the following types of wst:RequestedProof tokens:
- xenc:EncryptedKey
- wst:ComputedKey
- wst:BinarySecret (for secure transport)
- Specified by:
issue
in interfaceTokenIssuer
- 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
Description copied from interface:TokenIssuer
Returns thewsa:Action
of the response.- Specified by:
getResponseAction
in interfaceTokenIssuer
- Parameters:
data
- A populatedRahasData
instance- Returns:
- Returns the
wsa:Action
of the response - Throws:
TrustException
- If an error occurred while during operation.
-
setConfigurationFile
Description copied from interface:TokenIssuer
Set the configuration file of this TokenIssuer.This is the text value of the <configuration-file> element of the token-dispatcher-configuration
- Specified by:
setConfigurationFile
in interfaceTokenIssuer
- Parameters:
configFile
- Sets the token issuer configuration file.- See Also:
-
setConfigurationElement
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement) Description copied from interface:TokenIssuer
Set the configuration element of this TokenIssuer.This is the <configuration> element of the token-dispatcher-configuration
- Specified by:
setConfigurationElement
in interfaceTokenIssuer
- Parameters:
configElement
-OMElement
representing the configuration- See Also:
-
setConfigurationParamName
Description copied from interface:TokenIssuer
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.- Specified by:
setConfigurationParamName
in interfaceTokenIssuer
- Parameters:
configParamName
- The configuration parameter to be set.- See Also:
-
Parameter
-