diff options
author | Joakim Erdfelt | 2015-09-02 16:26:12 +0000 |
---|---|---|
committer | Joakim Erdfelt | 2015-09-02 16:26:12 +0000 |
commit | 49c927974b72b7f8f11f5d4481e0317ff2b2af75 (patch) | |
tree | f40ecfe3568e13491ed29df48c8a2e5e7e31d905 | |
parent | b23c2bd30920a1bab9b9c215e1af0a452c6e9d7b (diff) | |
download | org.eclipse.jetty.project-49c927974b72b7f8f11f5d4481e0317ff2b2af75.tar.gz org.eclipse.jetty.project-49c927974b72b7f8f11f5d4481e0317ff2b2af75.tar.xz org.eclipse.jetty.project-49c927974b72b7f8f11f5d4481e0317ff2b2af75.zip |
Javadoc fix
-rw-r--r-- | jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java b/jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java index 14b86bf0f2..77d4d9206c 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/SecureRequestCustomizer.java @@ -78,23 +78,26 @@ public class SecureRequestCustomizer implements HttpConfiguration.Customizer } /** - * <p>Customizes the request attributes to be set for SSL requests.</p> - * <p>The requirements of the Servlet specs are:</p> + * <p> + * Customizes the request attributes to be set for SSL requests. + * </p> + * <p> + * The requirements of the Servlet specs are: + * </p> * <ul> - * <li> an attribute named "javax.servlet.request.ssl_session_id" of type - * String (since Servlet Spec 3.0).</li> - * <li> an attribute named "javax.servlet.request.cipher_suite" of type - * String.</li> - * <li> an attribute named "javax.servlet.request.key_size" of type Integer.</li> - * <li> an attribute named "javax.servlet.request.X509Certificate" of type - * java.security.cert.X509Certificate[]. This is an array of objects of type - * X509Certificate, the order of this array is defined as being in ascending - * order of trust. The first certificate in the chain is the one set by the - * client, the next is the one used to authenticate the first, and so on. - * </li> + * <li>an attribute named "javax.servlet.request.ssl_session_id" of type String (since Servlet Spec 3.0).</li> + * <li>an attribute named "javax.servlet.request.cipher_suite" of type String.</li> + * <li>an attribute named "javax.servlet.request.key_size" of type Integer.</li> + * <li>an attribute named "javax.servlet.request.X509Certificate" of type java.security.cert.X509Certificate[]. This + * is an array of objects of type X509Certificate, the order of this array is defined as being in ascending order of + * trust. The first certificate in the chain is the one set by the client, the next is the one used to authenticate + * the first, and so on.</li> * </ul> - * - * @param request HttpRequest to be customized. + * + * @param sslEngine + * the sslEngine to be customized. + * @param request + * HttpRequest to be customized. */ public void customize(SSLEngine sslEngine, Request request) { @@ -104,7 +107,6 @@ public class SecureRequestCustomizer implements HttpConfiguration.Customizer if (_sniHostCheck) { String name = request.getServerName(); - @SuppressWarnings("unchecked") X509 x509 = (X509)sslSession.getValue(SniX509ExtendedKeyManager.SNI_X509); if (x509!=null && !x509.matches(name)) |