tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Use KeyManagerFactory.getDefaultAlgorithm() as the default value of algorithm
Date Wed, 16 Dec 2009 11:25:12 GMT
Many thanks ^_^

2009/12/16 Mark Thomas <markt@apache.org>

> 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
>
>


-- 
Ivan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message