tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: single user session and block log-in after faut
Date Thu, 03 Jun 2010 16:01:28 GMT
On 03/06/2010 16:45, banto wrote:
> 
> Hi gurus,
> 
> i would like to know how to fix the following problems:
> 
> 1) how can i set tocat in such a way to permit only one session per user? :
> let´s say userA logs-in from PC-A.Then userA logs-in from PC-B. Tomcat
> should block the second session because already logged-in.

Tomcat won't do this, you'll have to code it in your application.

> 2) Tomcat rejects any further log-in attempt after 3 faults.

Assuming you're using a v6.0.recent then there's a LockOutRealm which
you can employ.  See the docs:

 http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#LockOutRealm


p

> thanks in advance,
> Antonio



Mime
View raw message