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 TokenIssuerdata - 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
TokenIssuerwsa:Action of the response.getResponseAction in interface TokenIssuerdata - A populated RahasData instancewsa:Action of the responseTrustException - If an error occurred while during operation.public void setConfigurationFile(String configFile)
TokenIssuerThis is the text value of the <configuration-file> element of the token-dispatcher-configuration
setConfigurationFile in interface TokenIssuerconfigFile - Sets the token issuer configuration file.TokenIssuer.setConfigurationFile(java.lang.String)public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenIssuerThis is the <configuration> element of the token-dispatcher-configuration
setConfigurationElement in interface TokenIssuerconfigElement - 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 TokenIssuerconfigParamName - The configuration parameter to be set.ParameterCopyright © Apache Software Foundation. All Rights Reserved.