Package org.apache.rahas.impl
Class TokenCancelerImpl
java.lang.Object
org.apache.rahas.impl.TokenCancelerImpl
- All Implemented Interfaces:
TokenCanceler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.soap.SOAPEnvelope
Cancel the token specified in the request.getResponseAction
(RahasData data) Returns thewsa: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.
-
Constructor Details
-
TokenCancelerImpl
public TokenCancelerImpl()
-
-
Method Details
-
cancel
Cancel the token specified in the request.- Specified by:
cancel
in interfaceTokenCanceler
- Parameters:
data
- A populatedRahasData
instance- Returns:
- Response SOAPEnveloper
- Throws:
TrustException
-
setConfigurationFile
Set the configuration file of this TokenCanceller.This is the text value of the <configuration-file> element of the token-dispatcher-configuration
- Specified by:
setConfigurationFile
in interfaceTokenCanceler
- Parameters:
configFile
-
-
setConfigurationElement
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement) Set the configuration element of this TokenCanceller.This is the <configuration> element of the token-dispatcher-configuration
- Specified by:
setConfigurationElement
in interfaceTokenCanceler
- Parameters:
configElement
-OMElement
representing the configuation
-
setConfigurationParamName
Set the name of the configuration parameter.If this is used then there must be a
org.apache.axis2.description.Parameter
object available in the via the messageContext when theTokenIssuer
is called.- Specified by:
setConfigurationParamName
in interfaceTokenCanceler
- Parameters:
configParamName
-- See Also:
-
Parameter
-
getResponseAction
Returns thewsa:Action
of the response.- Specified by:
getResponseAction
in interfaceTokenCanceler
- Parameters:
data
- A populatedRahasData
instance- Returns:
- Returns the
wsa:Action
of the response - Throws:
TrustException
-