Package org.apache.rahas
Interface TokenCanceler
- All Known Implementing Classes:
TokenCancelerImpl
public interface TokenCanceler
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.soap.SOAPEnvelopeCancel the token specified in the request.getResponseAction(RahasData data) Returns thewsa:Actionof the response.voidsetConfigurationElement(org.apache.axiom.om.OMElement configElement) Set the configuration element of this TokenCanceller.voidsetConfigurationFile(String configFile) Set the configuration file of this TokenCanceller.voidsetConfigurationParamName(String configParamName) Set the name of the configuration parameter.
-
Method Details
-
cancel
Cancel the token specified in the request.- Parameters:
data- A populatedRahasDatainstance- 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
- Parameters:
configFile-
-
setConfigurationElement
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
- Parameters:
configElement-OMElementrepresenting the configuration
-
setConfigurationParamName
Set the name of the configuration parameter.If this is used then there must be a
org.apache.axis2.description.Parameterobject available in the via the messageContext when theTokenIssueris called.- Parameters:
configParamName-- See Also:
-
Parameter
-
getResponseAction
Returns thewsa:Actionof the response.- Parameters:
data- A populatedRahasDatainstance- Returns:
- Returns the
wsa:Actionof the response - Throws:
TrustException
-