tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giannini Alessandro" <>
Subject patch proposal
Date Mon, 02 Feb 2009 12:13:43 GMT
This patch is useful when you want handle keystore password from external class. 
To do this, I added two additional parameters (in Connector tag of server.xml) to call external
method and get Password String.
- Parameter keystorePassHandler (in form some.package.Class.methodToInvoke)
- Parameter truststorePassHandler (in form some.package.Class.methodToInvoke) 
obviously, if not present,  keystorePass and truststorePass parameters are used.
using external attached passConsole.jar to enter password from console 
add attribute to Connector tag of server.xml
           port="8443" minProcessors="5" maxProcessors="75"
           enableLookups="false" disableUploadTimeout="true" 
           acceptCount="100"  maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreType="PKCS12" keystorePass="keypass"
           truststoreType="JKS" truststorePass="trustorepass"
           clientAuth="true" sslprotocol="TLS"/>
If new attributes are presents,keystorePass and truststorePass are ignored. 

Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute
in questo messaggio e nei suoi eventuali allegati sono riservate e per
uso esclusivo del destinatario. Nessuno, all'infuori dello stesso,
può copiare o distribuire il messaggio, o parte di esso, a terzi.
Chiunque riceva questo messaggio per errore è pregato di distruggerlo
e di informare il mittente.

According to the D.Lgs. 196/2003 this document and its attachments are
confidential and intended for the named addressee(s) only. If you are
not the intended recipient of this message, any use or dissemination
of this message is prohibited. If you have received this document by
mistake, please notify the sender and destroy all physical and/or
electronic copies.

View raw message