org.apache.rahas
Interface TokenRenewer


public interface TokenRenewer


Method Summary
 org.apache.axiom.soap.SOAPEnvelope renew(RahasData data)
          Renew the token specified in the given request.
 void setConfigurationElement(java.lang.String configElement)
          Set the configuration element of this 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.
 

Method Detail

renew

public org.apache.axiom.soap.SOAPEnvelope renew(RahasData data)
                                         throws TrustException
Renew the token specified in the given request.

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

Parameters:
configFile -

setConfigurationElement

public void setConfigurationElement(java.lang.String configElement)
Set the configuration element of this TokenRenewer. This is the <configuration> element of the token-dispatcher-configuration

Parameters:
configElement - OMElement representing the configuation

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.

Parameters:
configParamName -
See Also:
Parameter


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.