org.eclipse.jetty.server.ssl
Class SslCertificates

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

public class SslCertificates
extends Object


Constructor Summary
SslCertificates()
           
 
Method Summary
static void customize(SSLSession sslSession, EndPoint endpoint, Request request)
          Allow the Listener a chance to customise the request.
static X509Certificate[] getCertChain(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 X509Certificate[] getCertChain(SSLSession sslSession)

customize

public static void customize(SSLSession sslSession,
                             EndPoint endpoint,
                             Request request)
                      throws 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:
IOException


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