You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Roland <ro...@netquant.com.br> on 2001/08/31 22:43:26 UTC

Loggin out using JDBC realms

Hello,
when using security realms, more specifically JDBC realms,
how do you log-out?

Thanks for answers, Roland



Re: Loggin out using JDBC realms

Posted by "P.Miller" <p....@brocom.de>.
Hi Roland,

you could use session.invalidate().
The next time the user wants to access a protected page he has to log in
again.

Peter

Roland wrote:
> 
> Hello,
> when using security realms, more specifically JDBC realms,
> how do you log-out?
> 
> Thanks for answers, Roland

Re: Loggin out using JDBC realms

Posted by Taavi Tiirik <tt...@ibs.ee>.
> when using security realms, more specifically JDBC realms,
> how do you log-out?

Call session.invalidate() and it does the trick.

with best wishes,
Taavi