Pid * wrote:
>
> 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
>
>
>
>
>
thank you,this answers!
--
View this message in context:
http://old.nabble.com/single-user-session-and-block-log-in-after-faut-tp28769302p28776833.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org