Package org.apache.rahas.impl
Class SCTIssuer
java.lang.Object
org.apache.rahas.impl.SCTIssuer
- All Implemented Interfaces:
TokenIssuer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResponseAction(RahasData data) Returns thewsa:Actionof the response.org.apache.axiom.soap.SOAPEnvelopeIssue aSecurityContextTokenbased on the wsse:Signature or wsse:UsernameTokenvoidsetConfigurationElement(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.
-
Field Details
-
COMPUTED_KEY
- See Also:
-
-
Constructor Details
-
SCTIssuer
public SCTIssuer()
-
-
Method Details
-
issue
Issue aSecurityContextTokenbased 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:
issuein interfaceTokenIssuer- Parameters:
data- A populatedRahasDatainstance- Returns:
- The response
soap:Envelopefor the given issue request. - Throws:
TrustException- If an error occurred while creating the token.
-
getResponseAction
Description copied from interface:TokenIssuerReturns thewsa:Actionof the response.- Specified by:
getResponseActionin interfaceTokenIssuer- Parameters:
data- A populatedRahasDatainstance- Returns:
- Returns the
wsa:Actionof the response - Throws:
TrustException- If an error occurred while during operation.
-
setConfigurationFile
Description copied from interface:TokenIssuerSet the configuration file of this TokenIssuer.This is the text value of the <configuration-file> element of the token-dispatcher-configuration
- Specified by:
setConfigurationFilein 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:TokenIssuerSet the configuration element of this TokenIssuer.This is the <configuration> element of the token-dispatcher-configuration
- Specified by:
setConfigurationElementin interfaceTokenIssuer- Parameters:
configElement-OMElementrepresenting the configuration- See Also:
-
setConfigurationParamName
Description copied from interface:TokenIssuerSet 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.- Specified by:
setConfigurationParamNamein interfaceTokenIssuer- Parameters:
configParamName- The configuration parameter to be set.- See Also:
-
Parameter
-