org.apache.rahas.impl
Class SAMLTokenRenewer

java.lang.Object
  extended by org.apache.rahas.impl.SAMLTokenRenewer
All Implemented Interfaces:
TokenRenewer

public class SAMLTokenRenewer
extends java.lang.Object
implements TokenRenewer


Constructor Summary
SAMLTokenRenewer()
           
 
Method Summary
 org.apache.axiom.soap.SOAPEnvelope renew(RahasData data)
          Renew the token specified in the given request.
 void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
          Set the configuration element of TokenRenewer.
 void setConfigurationFile(java.lang.String configFile)
          Set the configuration file of this TokenRenewer.
 void setConfigurationParamName(java.lang.String configParamName)
          Set the name of the configuration parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLTokenRenewer

public SAMLTokenRenewer()
Method Detail

renew

public org.apache.axiom.soap.SOAPEnvelope renew(RahasData data)
                                         throws TrustException
Description copied from interface: TokenRenewer
Renew the token specified in the given request.

Specified by:
renew in interface TokenRenewer
Parameters:
data - A populated RahasData instance
Returns:
Response SOAPEnveloper
Throws:
TrustException

setConfigurationFile

public void setConfigurationFile(java.lang.String configFile)
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 interface TokenRenewer

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 interface TokenRenewer
Parameters:
configElement - OMElement representing the configuration

setConfigurationParamName

public void setConfigurationParamName(java.lang.String configParamName)
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 the TokenIssuer is called.

Specified by:
setConfigurationParamName in interface TokenRenewer
See Also:
Parameter