public class TokenCancelerImpl extends Object implements TokenCanceler
Constructor and Description |
---|
TokenCancelerImpl() |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.soap.SOAPEnvelope |
cancel(RahasData data)
Cancel the token specified in the request.
|
String |
getResponseAction(RahasData data)
Returns the
wsa:Action of the response. |
void |
setConfigurationElement(org.apache.axiom.om.OMElement configElement)
Set the configuration element of this TokenCanceller.
|
void |
setConfigurationFile(String configFile)
Set the configuration file of this TokenCanceller.
|
void |
setConfigurationParamName(String configParamName)
Set the name of the configuration parameter.
|
public org.apache.axiom.soap.SOAPEnvelope cancel(RahasData data) throws TrustException
cancel
in interface TokenCanceler
data
- A populated RahasData
instanceTrustException
public void setConfigurationFile(String configFile)
This is the text value of the <configuration-file> element of the token-dispatcher-configuration
setConfigurationFile
in interface TokenCanceler
configFile
- public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
This is the <configuration> element of the token-dispatcher-configuration
setConfigurationElement
in interface TokenCanceler
configElement
- OMElement
representing the configuationpublic void setConfigurationParamName(String configParamName)
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 TokenCanceler
configParamName
- Parameter
public String getResponseAction(RahasData data) throws TrustException
wsa:Action
of the response.getResponseAction
in interface TokenCanceler
data
- A populated RahasData
instancewsa:Action
of the responseTrustException
Copyright © Apache Software Foundation. All Rights Reserved.