tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Sat, 13 Apr 2002 05:37:39 GMT
billbarker    02/04/12 22:37:39

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  Extend the setters for SSL attributes.
  
  Revision  Changes    Path
  1.27      +10 -3     jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
  
  Index: Http11Processor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Http11Processor.java	12 Apr 2002 14:47:22 -0000	1.26
  +++ Http11Processor.java	13 Apr 2002 05:37:38 -0000	1.27
  @@ -515,12 +515,19 @@
                       Object sslO = sslSupport.getCipherSuite();
                       if (sslO != null)
                           request.setAttribute
  -                            ("javax.servlet.request.cipher_suite", sslO);
  +                            (SSLSupport.CIPHER_SUITE_KEY, sslO);
                       sslO = sslSupport.getPeerCertificateChain();
                       if (sslO != null)
                           request.setAttribute
  -                            ("javax.servlet.request.X509Certificate", sslO);
  -                    //XXX We still need KeySize for 4.x
  +                            (SSLSupport.CERTIFICATE_KEY, sslO);
  +		    sslO = sslSupport.getKeySize();
  +		    if (sslO != null)
  +			request.setAttribute
  +			    (SSLSupport.KEY_SIZE_KEY, sslO);
  +		    sslO = sslSupport.getSessionId();
  +		    if (sslO != null)
  +			request.setAttribute
  +			    (SSLSupport.SESSION_ID_KEY, sslO);
                   }
               } catch (Exception e) {
                   //log("Exception getting SSL attribute " + key,e,Log.WARNING);
  
  
  

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