Re: single user session and block log-in after faut

2010-06-04 Thread banto



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



Re: single user session and block log-in after faut

2010-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck

On 6/3/2010 12:00 PM, Caldarale, Charles R wrote:
> If you want to prevent second logins, you'll need your own
> .  Another option is that you might be able to configure or
> modify SecurityFilter to do the job.

FWIW, sf doesn't have this capability built-into it, so the OP would
have to write their own code, anyway. There is no advantage to using sf,
here, as long as the solution is not Tomcat-specific.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwIHnAACgkQ9CaO5/Lv0PBgZgCaAs3GBQDL43YEyrxofgCHS6Yy
q6kAmgMbFnS4wrZITa+gfTe9deOX3m+3
=LLMc
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: single user session and block log-in after faut

2010-06-03 Thread Pid
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


RE: single user session and block log-in after faut

2010-06-03 Thread Caldarale, Charles R
> From: banto [mailto:banto...@gmail.com]
> Subject: single user session and block log-in after faut

> i would like to know how to fix the following problems:

We would like to know what Tomcat version you're using and what kind of  
you've chosen to use.

> 1) how can i set tocat in such a way to permit only one 
> session per user?

There's nothing built into Tomcat to do that.  You could write a filter for the 
webapp that tracks the logged in users, and rejects requests that don't fit 
your login criteria.  However, that filter won't get invoked until after a 
second or subsequent successful login.  If you want to prevent second logins, 
you'll need your own .  Another option is that you might be able to 
configure or modify SecurityFilter to do the job.

http://securityfilter.sourceforge.net/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



single user session and block log-in after faut

2010-06-03 Thread banto

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.

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

thanks in advance,
Antonio
-- 
View this message in context: 
http://old.nabble.com/single-user-session-and-block-log-in-after-faut-tp28769302p28769302.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