Package org.apache.rahas.impl
Class SAMLTokenRenewer
java.lang.Object
org.apache.rahas.impl.SAMLTokenRenewer
- All Implemented Interfaces:
TokenRenewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.soap.SOAPEnvelopeRenew the token specified in the given request.voidsetConfigurationElement(org.apache.axiom.om.OMElement configElement) Set the configuration element of TokenRenewer.voidsetConfigurationFile(String configFile) Set the configuration file of this TokenRenewer.voidsetConfigurationParamName(String configParamName) Set the name of the configuration parameter.
-
Constructor Details
-
SAMLTokenRenewer
public SAMLTokenRenewer()
-
-
Method Details
-
renew
Description copied from interface:TokenRenewerRenew the token specified in the given request.- Specified by:
renewin interfaceTokenRenewer- Parameters:
data- A populatedRahasDatainstance- 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:
setConfigurationFilein 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:
setConfigurationElementin interfaceTokenRenewer- Parameters:
configElement-OMElementrepresenting the configuration
-
setConfigurationParamName
Set the name of the configuration parameter. If this is used then there must be aorg.apache.axis2.description.Parameterobject available in the via the messageContext when theTokenIssueris called.- Specified by:
setConfigurationParamNamein interfaceTokenRenewer- See Also:
-
Parameter
-