tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: [PATCH][5] Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator SSLAuthenticator.java
Date Mon, 23 Sep 2002 00:33:30 GMT
I know, I know, compile then commit :-(.

Fixed now.
----- Original Message -----
From: "Steve Downey" <steve.downey@netfolio.com>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Sunday, September 22, 2002 12:48 PM
Subject: [PATCH][5] Re: cvs commit:
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator
SSLAuthenticator.java


JDK 1.4's javac doesn't like this. It's complaining about casting Object to
X509Certificate[].

On Saturday 21 September 2002 02:50 am, billbarker@apache.org wrote:
> billbarker    2002/09/20 23:50:30
>
>   Modified:    catalina/src/share/org/apache/catalina/authenticator
>                         SSLAuthenticator.java
>   Log:
>   Final level in replacing CertificatesValve under Coyote.
>
>   This is a little hackish, but is portable to 4.x without changing the
> API.  Here, it should probably change once Coyote is properly exposed to
> Catalina.
>
>   If there aren't any major complaints, I'll port to the 4.1 branch later.
>
>   Revision  Changes    Path
>   1.2       +7 -4
>
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticato
>r/SSLAuthenticator.java
>
>   Index: SSLAuthenticator.java
>   ===================================================================
>   RCS file:
>
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/au
>thenticator/SSLAuthenticator.java,v retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- SSLAuthenticator.java 18 Jul 2002 16:48:02 -0000 1.1
>   +++ SSLAuthenticator.java 21 Sep 2002 06:50:30 -0000 1.2
>   @@ -150,6 +150,9 @@
>                log(" Looking up certificates");
>            X509Certificate certs[] = (X509Certificate[])
>
> request.getRequest().getAttribute(Globals.CERTIFICATES_ATTR); + if ((certs
> == null) || (certs.length < 1)) {
>   +     certs =
> request.getRequest().getAttribute(Globals.SSL_CERTIFICATE_ATTR); + }
>            if ((certs == null) || (certs.length < 1)) {
>                if (debug >= 1)
>                    log("  No certificates included with this request");



----------------------------------------------------------------------------
----


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


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


Mime
View raw message