CLIENT-CERT for client authentication (with MemoryRealm)

2003-02-07 Thread Manuel Gil Perez
Hi all. Currently, I have a secure web application with Apache + mod_ssl and it does work fine. I would like change to Tomcat with security constraints for directories (with client authentication). For this, I would like to protect a resource with a MemoryRealm. I'm following these steps: 1.

CLIENT-CERT authentication method

2003-02-10 Thread Manuel Gil Perez
Hi all. Currently (in Tomcat 4.1.18), is CLIENT-CERT authentication method defined within Realm?? Regards. -- login-config auth-methodCLIENT-CERT/auth-method realm-nameOnJava Application/realm-name /login-config

Read parameters from web.xml

2003-02-24 Thread Manuel Gil Perez
Hi all. I've creating my own JNDIRealm and I would like to read the parameters from $CATALINA_HOME/webapps/example/WEB-INF/web.xml file. How I can to read these parameters?? Regards. - To unsubscribe, e-mail: [EMAIL

Two Realms for client authentication

2003-02-28 Thread Manuel Gil Perez
Hi. Can I use two Realms for client authentication?? I would like to define a set of servlets that uses a Realm and another set of sevlets that uses another Realm. Can I make this?? Regards. - To unsubscribe, e-mail: [EMAIL

Change the name of a servlet in runtime

2003-11-20 Thread Manuel Gil Perez
Hi all. I have a servlet that reads a file from disk and it returns as output stream in the servlet (octect-stream). From web browser, when I execute this servlet the file is stored with the servlet name. How can I change this name to the file name?? Regards... Manuel Gil. ---

Client authentication using Keystores...

2005-06-07 Thread Manuel Gil Perez
Hi all, I would like to enrol my server to accept authenticated connections from authorized parties using X.509 certificates. I follow the instructions indicated in SSL Configuration HOW-TO (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html) and I generate my keystore file with