User login access with tomcat

2002-05-30 Thread Rupert Young


With Apache you can restrict access to directories (so user has to type in
username and password) by;

Directory C:/Program Files/Apache Group/Apache/htdocs/mydir
AuthType Basic
AuthName By Invitation Only
AuthUserFile c:/password_file
Require user myname
/Directory


How do you do the same with a webapp in tomcat ?

Regards,
Rupert



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: User login access with tomcat

2002-05-30 Thread Phillip Morelock

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/realm.html

is one potential place to start.

cheers
fillup

On 5/30/02 2:54 PM, Rupert Young [EMAIL PROTECTED] wrote:

 
 With Apache you can restrict access to directories (so user has to type in
 username and password) by;
 
 Directory C:/Program Files/Apache Group/Apache/htdocs/mydir
 AuthType Basic
 AuthName By Invitation Only
 AuthUserFile c:/password_file
 Require user myname
 /Directory
 
 
 How do you do the same with a webapp in tomcat ?
 
 Regards,
 Rupert
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]