org.eclipse.jetty.server.ssl
Class SslCertificates

java.lang.Object
  extended by org.eclipse.jetty.server.ssl.SslCertificates

public class SslCertificates
extends java.lang.Object


Constructor Summary
SslCertificates()
           
 
Method Summary
static void customize(javax.net.ssl.SSLSession sslSession, EndPoint endpoint, Request request)
          Allow the Listener a chance to customise the request.
static java.security.cert.X509Certificate[] getCertChain(javax.net.ssl.SSLSession sslSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslCertificates

public SslCertificates()
Method Detail

getCertChain

public static java.security.cert.X509Certificate[] getCertChain(javax.net.ssl.SSLSession sslSession)

customize

public static void customize(javax.net.ssl.SSLSession sslSession,
                             EndPoint endpoint,
                             Request request)
                      throws java.io.IOException
Allow the Listener a chance to customise the request. before the server does its stuff.
This allows the required attributes to be set for SSL requests.
The requirements of the Servlet specs are:

Parameters:
endpoint - The Socket the request arrived on. This should be a SocketEndPoint wrapping a SSLSocket.
request - HttpRequest to be customised.
Throws:
java.io.IOException


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.