Rép. : Executing custom action on d eploy

2005-10-11 Thread Antony GUILLOTEAU
In your web.xml file, declare a servlet like this : servlet servlet-namemyServlet/servlet-name servlet-classxx.xx.xx.myServlet/servlet-class load-on-startup1/load-on-startup /servlet And in your servlet, the init() method is called when the server start :

Re: Rép. : SSL question

2005-10-05 Thread Antony GUILLOTEAU
, but instead com.sun.net.ssl - couldn't make it work with javax.net.ssl. Is the code below necessary for the servlet as well? Thought Tomcat has got all the information about trusted certificates in its keystore. --- Antony GUILLOTEAU [EMAIL PROTECTED] wrote: Many articles talk about how access https using

Rép. : SSL question

2005-10-04 Thread Antony GUILLOTEAU
Many articles talk about how access https using java client throws HttpsURLConnection. You must use : - your own TrustManager (implements javax.net.ssl.X509TrustManager) - your own KeyManager (implements javax.net.ssl.X509KeyManager) - your own HostnameVerifer(implements

Rép. : Re: How show CLIENT-CERT Rea lm

2005-09-22 Thread Antony GUILLOTEAU
message. [EMAIL PROTECTED] 21/09/2005 21:15:39 Antony GUILLOTEAU wrote: I'm able to show the login window of a basic realm with following code : response.setHeader(WWW-Authenticate, BASIC realm=\myName\); response.sendError(HttpServletResponse.SC_UNAUTHORIZED); Now I wish to show

Redirect to the secure port within a serlvet

2005-09-22 Thread Antony GUILLOTEAU
I wanted to simulate a CLIENt-CERT realm to the browser with serlvet (response.setHeader(WWW-Authenticate, BASIC realm=\myName\)) but it seems not possible. So I want to basically redirect my request to SSL. I wish know how to redirect a request to the secure port within a serlvet but I don't

How show CLIENT-CERT Realm

2005-09-21 Thread Antony GUILLOTEAU
I'm able to show the login window of a basic realm with following code : response.setHeader(WWW-Authenticate, BASIC realm=\myName\); response.sendError(HttpServletResponse.SC_UNAUTHORIZED); Now I wish to show the window like CLIENT-CERT : when all realm parameters are set in the web.xml

Tomcat SSL : check CRL

2005-09-20 Thread Antony GUILLOTEAU
I've read all I can on the web and I have not found informations about how check CRL when Tomcat is configured in client authentication. All response given say that I must use an Apache Server but I want keep my tomcat standalone. Thanks for your response. Antony GUILLOTEAU

jakarta-struts-1.1-rc1 and jakarta-tomcat-4.1.24-LE-jdk14

2003-09-30 Thread Antony GUILLOTEAU
Hloden - Feb 3 2003) but no response. When I delete the commons-digester.jar from my classpath tomcat run but I have an error on my web application. Does anybody help me ? Thanks. --- Antony GUILLOTEAU - Système U Ouest Service