Re: Basic question on requiring a login

2008-06-11 Thread Johnny Kewl


- Original Message - 
From: "Justin Morgan - Logic Sector" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, June 11, 2008 8:02 AM
Subject: Basic question on requiring a login



Hi Tomcat users,

Maybe I'm not googling with the right keywords, but I can't seem to  find 
a simple answer to this...


I have a standard Tomcat 6.0.10 installation (no Apache httpd front  end 
or anything).  All the contents of the webapps directory have been 
removed, and a single web app has been deployed -- my root application 
(ROOT.war).  Very simple, and all's working great.


Here's the part I need help with:  Now I want Tomcat to require a  login 
panel before anyone can access the application.


How to I get Tomcat to force a login panel when users access the root  web 
app?  (Basically I'm looking for the same sort of functionality  you get 
with Apache .htaccess files etc but without the extra  complexity of 
integrating with Apache httpd).


Any tips or pointers greatly appreciated!  Thanks!


Look at this article... then once you got the lingo, you can google for the 
other half million ;)

http://www.informit.com/articles/article.aspx?p=24253&seqNum=3


---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---



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



Re: Basic question on requiring a login

2008-06-10 Thread Mark Thomas


Justin Morgan - Logic Sector wrote:


Hi Tomcat users,

Maybe I'm not googling with the right keywords, but I can't seem to find 
a simple answer to this...


I have a standard Tomcat 6.0.10 installation (no Apache httpd front end 
or anything).  All the contents of the webapps directory have been 
removed, and a single web app has been deployed -- my root application 
(ROOT.war).  Very simple, and all's working great.


Here's the part I need help with:  Now I want Tomcat to require a login 
panel before anyone can access the application.


How to I get Tomcat to force a login panel when users access the root 
web app?  (Basically I'm looking for the same sort of functionality you 
get with Apache .htaccess files etc but without the extra complexity of 
integrating with Apache httpd).


Any tips or pointers greatly appreciated!  Thanks!


Take a look a the security section of the Servlet spec. For hints, look in 
the web.xml for the manager app that comes with Tomcat.


Mark


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



Basic question on requiring a login

2008-06-10 Thread Justin Morgan - Logic Sector

Hi Tomcat users,

Maybe I'm not googling with the right keywords, but I can't seem to  
find a simple answer to this...


I have a standard Tomcat 6.0.10 installation (no Apache httpd front  
end or anything).  All the contents of the webapps directory have been  
removed, and a single web app has been deployed -- my root application  
(ROOT.war).  Very simple, and all's working great.


Here's the part I need help with:  Now I want Tomcat to require a  
login panel before anyone can access the application.


How to I get Tomcat to force a login panel when users access the root  
web app?  (Basically I'm looking for the same sort of functionality  
you get with Apache .htaccess files etc but without the extra  
complexity of integrating with Apache httpd).


Any tips or pointers greatly appreciated!  Thanks!

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