I know, I know, compile then commit :-(.

Fixed now.
----- Original Message -----
From: "Steve Downey" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
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, [EMAIL PROTECTED] 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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to