Hey!
Objective: Write a servlet that dynamically generates the encrypted
Username:Password string, and modify the Webserver's htpasswd file
for basic authentication.
What I have found out from doing some research is that Apache for
Unix uses a different algorithm than Windows' MD5. I think they use
something called crypt().
Questions:
1. 1 Has anyone implemented the Windows encryption algorithm in Java?
2. 2 Is there any copyright licenses needed for MD5 used in Windows
Apache?
Otherwise we are stuck with Runtime.exec() to the htpasswd.exe. Yuk.
I'm hoping that someone has already done this and is willing to go
public with the code. :>)
I would be willing to post the HtpasswdServlet when I am done.
Thank you.
Sans adieu,
Danny Rubis
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html