You can try to use Restart service. It should be pretty simple to call
a restart service via service link.
Otherwise you can have a look to the

http://tapestry.apache.org/tapestry4/tapestry/hivedocs/module/tapestry.globals.html

For example you can get a request injected to your Hivemind services.
Or via WebRequest you will get a WebSession

http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebRequest.html#getSession(boolean)

There you will find exactly what you are looking for :)

http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebSession.html#invalidate()



On 06/03/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote:
Hi all,

Anybody knows how I can access the HttpSession from tapestry... I found
RequestCycle: getRequestContext():getSession()... but its
deprecated.

I need to invalidate the session in order to logout from JAAS realm, I've
tried WebSession():invalidate() but it doesn't work :(



--
Best regards,
Renat Zubairov

Reply via email to