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
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
public void setConfigurationFile(String configFile)
TokenIssuer
setConfigurationFile
in interface TokenIssuer
TokenIssuer.setConfigurationFile(java.lang.String)
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenIssuer
setConfigurationElement
in interface TokenIssuer
configElement
- OMElement
representing the configurationTokenIssuer.setConfigurationElement(OMElement)
public void setConfigurationParamName(String configParamName)
TokenIssuer
org.apache.axis2.description.Parameter
object available in
the via the messageContext when the TokenIssuer
is called.setConfigurationParamName
in interface TokenIssuer
Parameter
Copyright © Apache Software Foundation. All Rights Reserved.