Package org.apache.rahas.impl
Class SAMLTokenRenewer
java.lang.Object
org.apache.rahas.impl.SAMLTokenRenewer
- All Implemented Interfaces:
TokenRenewer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.soap.SOAPEnvelope
Renew the token specified in the given request.void
setConfigurationElement
(org.apache.axiom.om.OMElement configElement) Set the configuration element of TokenRenewer.void
setConfigurationFile
(String configFile) Set the configuration file of this TokenRenewer.void
setConfigurationParamName
(String configParamName) Set the name of the configuration parameter.
-
Constructor Details
-
SAMLTokenRenewer
public SAMLTokenRenewer()
-
-
Method Details
-
renew
Description copied from interface:TokenRenewer
Renew the token specified in the given request.- Specified by:
renew
in interfaceTokenRenewer
- Parameters:
data
- A populatedRahasData
instance- Returns:
- Response SOAPEnveloper
- Throws:
TrustException
-
setConfigurationFile
Set the configuration file of this TokenRenewer. This is the text value of the <configuration-file> element of the token-dispatcher-configuration- Specified by:
setConfigurationFile
in interfaceTokenRenewer
-
setConfigurationElement
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement) Set the configuration element of TokenRenewer. This is the <configuration> element of the token-dispatcher-configuration- Specified by:
setConfigurationElement
in interfaceTokenRenewer
- Parameters:
configElement
-OMElement
representing the configuration
-
setConfigurationParamName
Set the name of the configuration parameter. If this is used then there must be aorg.apache.axis2.description.Parameter
object available in the via the messageContext when theTokenIssuer
is called.- Specified by:
setConfigurationParamName
in interfaceTokenRenewer
- See Also:
-
Parameter
-