~ubuntu-branches/ubuntu/precise/tomcat7/precise-updates

« back to all changes in this revision

Viewing changes to webapps/docs/ssl-howto.xml

  • Committer: Bazaar Package Importer
  • Author(s): tony mancill, Miguel Landaeta, tony mancill
  • Date: 2011-06-23 20:26:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110623202629-w1v0jejj19swux10
Tags: 7.0.16-1
[ Miguel Landaeta ]
* New upstream release.
* Add missing deps and symlinks for commons-pool ands commons-dbcp jars.

[ tony mancill ]
* Add logrotate file for catalina.out.
* Add build-arch target to debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
    <ul>
544
544
      <li>Tomcat must have a connector with the attribute
545
545
          <strong>isSecure</strong> set to <code>true</code>.</li>
546
 
      <li>If SSL conections are managed by a proxy or a hardware accelerator
 
546
      <li>If SSL connections are managed by a proxy or a hardware accelerator
547
547
          they must populate the SSL request headers (see the SSLValve) so that
548
 
          the SSL session ID is visibale to Tomcat.</li>
 
548
          the SSL session ID is visible to Tomcat.</li>
549
549
      <li>If Tomcat terminates the SSL connection, it will not be possible to use
550
550
          session replication as the SSL session IDs will be different on each
551
551
          node.</li>
585
585
}
586
586
    </source>
587
587
  </p>
588
 
  <p>Note: SSL session tracking is implemented for the BIO and NIO connetcors.
 
588
  <p>Note: SSL session tracking is implemented for the BIO and NIO connectors.
589
589
     It is not yet implemented for the APR connector.</p>
590
590
     
591
591
</section>
613
613
    request.getAttribute("javax.servlet.request.ssl_session_mgr");
614
614
mgr.invalidateSession();
615
615
 
616
 
// Close the conection since the SSL session will be active until the connection
 
616
// Close the connection since the SSL session will be active until the connection
617
617
// is closed
618
618
response.setHeader("Connection", "close");
619
619
    </source>
620
620
    Note that this code is Tomcat specific due to the use of the
621
621
    SSLSessionManager class. This is currently only available for the BIO and
622
 
    NIO conenctors, not the APR/native connector.
 
622
    NIO connectors, not the APR/native connector.
623
623
  </p>
624
624
</section>
625
625
 
626
626
</body>
627
627
 
628
 
</document>
 
 
b'\\ No newline at end of file'
 
628
</document>