You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/11/05 00:41:19 UTC
svn commit: r1636779 -
/tomcat/trunk/test/org/apache/tomcat/util/net/jsse/TesterBug50640SslImpl.java
Author: markt
Date: Tue Nov 4 23:41:19 2014
New Revision: 1636779
URL: http://svn.apache.org/r1636779
Log:
Switch to testing the NIO/NIO2 approach to using JSSEImplementation
Modified:
tomcat/trunk/test/org/apache/tomcat/util/net/jsse/TesterBug50640SslImpl.java
Modified: tomcat/trunk/test/org/apache/tomcat/util/net/jsse/TesterBug50640SslImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/jsse/TesterBug50640SslImpl.java?rev=1636779&r1=1636778&r2=1636779&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/net/jsse/TesterBug50640SslImpl.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/jsse/TesterBug50640SslImpl.java Tue Nov 4 23:41:19 2014
@@ -17,24 +17,21 @@
package org.apache.tomcat.util.net.jsse;
import org.apache.tomcat.util.net.AbstractEndpoint;
-import org.apache.tomcat.util.net.ServerSocketFactory;
+import org.apache.tomcat.util.net.SSLUtil;
public class TesterBug50640SslImpl extends JSSEImplementation {
public static final String PROPERTY_NAME = "bug50640";
public static final String PROPERTY_VALUE = "pass";
- @Override
- public ServerSocketFactory getServerSocketFactory(
- AbstractEndpoint<?> endpoint) {
- // Check the custom attribute is visible & correcly set
+ @Override
+ public SSLUtil getSSLUtil(AbstractEndpoint<?> endpoint) {
String flag = endpoint.getProperty(PROPERTY_NAME);
if (PROPERTY_VALUE.equals(flag)) {
- return super.getServerSocketFactory(endpoint);
+ return super.getSSLUtil(endpoint);
} else {
return null;
}
}
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org