public class SCTIssuer extends Object implements TokenIssuer
Modifier and Type | Field and Description |
---|---|
static String |
COMPUTED_KEY |
Constructor and Description |
---|
SCTIssuer() |
Modifier and Type | Method and Description |
---|---|
String |
getResponseAction(RahasData data)
Returns the
wsa:Action of the response. |
org.apache.axiom.soap.SOAPEnvelope |
issue(RahasData data)
Issue a
SecurityContextToken based on the wsse:Signature or
wsse:UsernameToken
This will support returning the SecurityContextToken with the following
types of wst:RequestedProof tokens:
xenc:EncryptedKey
wst:ComputedKey
wst:BinarySecret (for secure transport)
|
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.
|
public static final String COMPUTED_KEY
public org.apache.axiom.soap.SOAPEnvelope issue(RahasData data) throws TrustException
SecurityContextToken
based on the wsse:Signature or
wsse:UsernameToken
This will support returning the SecurityContextToken with the following types of wst:RequestedProof tokens:
issue
in interface TokenIssuer
data
- A populated RahasData
instancesoap:Envelope
for the given issue
request.TrustException
- If an error occurred while creating the token.public String getResponseAction(RahasData data) throws TrustException
TokenIssuer
wsa:Action
of the response.getResponseAction
in interface TokenIssuer
data
- A populated RahasData
instancewsa:Action
of the responseTrustException
- If an error occurred while during operation.public void setConfigurationFile(String configFile)
TokenIssuer
This is the text value of the <configuration-file> element of the token-dispatcher-configuration
setConfigurationFile
in interface TokenIssuer
configFile
- Sets the token issuer configuration file.TokenIssuer.setConfigurationFile(java.lang.String)
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenIssuer
This is the <configuration> element of the token-dispatcher-configuration
setConfigurationElement
in interface TokenIssuer
configElement
- OMElement
representing the configurationTokenIssuer.setConfigurationElement(OMElement)
public void setConfigurationParamName(String configParamName)
TokenIssuer
If this is used then there must be a
org.apache.axis2.description.Parameter
object available in
the via the messageContext when the TokenIssuer
is called.
setConfigurationParamName
in interface TokenIssuer
configParamName
- The configuration parameter to be set.Parameter
Copyright © Apache Software Foundation. All Rights Reserved.