How can I get a servlet to authenticate or send authentication
information (username and password) to the apache server for
authentication? 

Essentially, what I want is when a unathenticated user requests the
first page in a directory where the directory limits access, it will
display a form for the user to input the username/password pair and
(somehow) authenticate the user. 

As a side note, I'm authenticating users off a MySQL table so either the
servlet (jdbc) or apache (mod_auth_mysql) can do the authentication.

I am hoping to create(?) a java version similar to "Apache-AuthenPasswd"
(see
ftp://ftp.rge.com/pub/languages/perl/modules/by-module/Apache/Apache-AuthenPasswd-0.10.readme
). 

I am unfamiliar with mod_perl, especially Apache::Servlet. Can I avoid
using this? I'd rather create a new mod_*.c instead if necessary.

Any suggestions?

rich
 
                                               [EMAIL PROTECTED]
.      .     .     .    .   .  . . http://www.math.ucalgary.ca/~cannings


-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to