tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Use KeyManagerFactory.getDefaultAlgorithm() as the default value of algorithm
Date Wed, 16 Dec 2009 11:17:49 GMT
On 16/12/2009 05:34, Ivan wrote:
> Hi,
>     While playing with Tomcat 7 with non-Sun JDK, I got an error "SunX509
> KeyManagerFactory not available", it seems that in AbstractEndpoint.java, it
> uses SunX509 as the default value, how about using
> KeyManagerFactory.getDefaultAlgorithm() as the default value to make Tomcat
> more portable.
> 
> --->
>  private String algorithm = KeyManagerFactory.getDefaultAlgorithm();
>     public String getAlgorithm() { return algorithm;}
>     public void setAlgorithm(String s ) { this.algorithm = s;}
> <---
> 
> Thanks !

I like it. Done (and the documentation updated) for trunk / Tomcat 7.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message