You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ja...@generaldynamics.uk.com on 2007/04/30 12:47:04 UTC

One login only

Hi,

 

I'm currently trying to configure Tomcat to only allow a user to log in
once.  If the same user tries to log in when already logged in (from
another machine for example) I want to cancel the login request and
present an explanation to the user.  I'm using the FORM based
authentication and have searched the web for a solution to this problem
to no avail.

 

Any help would be much appreciated,

 

Jamie

 

 



This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof.  General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.

Re: One login only

Posted by Martin Gainty <mg...@hotmail.com>.
Greetings from across the Pond

I thought this was rather an ingenious solution
http://www.simongbrown.com/blog/2004/11/04/1099588633312.html
Create a Principal object
Authenticate Principal object to Tomcat Realm via 'Role'
then use SSOValve to create Principal from supplied RequestHeaders

Does this help?
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: <Ja...@generaldynamics.uk.com>
To: <us...@tomcat.apache.org>
Sent: Monday, April 30, 2007 6:47 AM
Subject: One login only


Hi,



I'm currently trying to configure Tomcat to only allow a user to log in
once.  If the same user tries to log in when already logged in (from
another machine for example) I want to cancel the login request and
present an explanation to the user.  I'm using the FORM based
authentication and have searched the web for a solution to this problem
to no avail.



Any help would be much appreciated,



Jamie







This email and any files attached are intended for the addressee and may 
contain information of a confidential nature. If you are not the intended 
recipient, be aware that this email was sent to you in error and you should 
not disclose, distribute, print, copy or make other use of this email or its 
attachments. Such actions, in fact, may be unlawful. In compliance with the 
various Regulations and Acts, General Dynamics United Kingdom Limited 
reserves the right to monitor (and examine for viruses) all emails and email 
attachments, both inbound and outbound. Email communications and their 
attachments may not be secure or error- or virus-free and the company does 
not accept liability or responsibility for such matters or the consequences 
thereof.  General Dynamics United Kingdom Limited, Registered Office: 100 
New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 
1911653.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org