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
signature.asc
Description: OpenPGP digital signature