geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r575528 - in /geronimo/sandbox/gshell/trunk/gshell-remote: gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/ gshell-remote-common/src/main/resources/org/apache/geronimo/gshell/remote/ssl/ gshell-remote-server/src/...
Date Fri, 14 Sep 2007 04:35:42 GMT
Author: jdillon
Date: Thu Sep 13 21:35:41 2007
New Revision: 575528

URL: http://svn.apache.org/viewvc?rev=575528&view=rev
Log:
And now ssl is working

Added:
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/resources/org/apache/geronimo/gshell/remote/ssl/
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/resources/org/apache/geronimo/gshell/remote/ssl/bogus.cert
  (with props)
Modified:
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-server/src/main/java/org/apache/geronimo/gshell/remote/server/RshServer.java

Modified: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java?rev=575528&r1=575527&r2=575528&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
Thu Sep 13 21:35:41 2007
@@ -63,7 +63,7 @@
     @Requirement(role=IoHandler.class, hint="rsh-client")
     private RshClientProtocolHandler handler;
 
-    private boolean ssl = false;
+    private boolean ssl = true;
     
     private InetSocketAddress address;
 
@@ -96,10 +96,10 @@
         filterChain.addLast("reqres", new RequestResponseFilter(new MessageResponseInspector(),
scheduler));
 
         if (ssl) {
-            SSLFilter sslFilter = new SSLFilter(BogusSSLContextFactory.getInstance(true));
+            SSLFilter sslFilter = new SSLFilter(BogusSSLContextFactory.getInstance(false));
             sslFilter.setUseClientMode(true);
             
-            filterChain.addFirst("sslFilter", sslFilter);
+            filterChain.addFirst("ssl", sslFilter);
         }
 
         log.info("Connecting to: {}", address);

Added: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/resources/org/apache/geronimo/gshell/remote/ssl/bogus.cert
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/resources/org/apache/geronimo/gshell/remote/ssl/bogus.cert?rev=575528&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/resources/org/apache/geronimo/gshell/remote/ssl/bogus.cert
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-server/src/main/java/org/apache/geronimo/gshell/remote/server/RshServer.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-server/src/main/java/org/apache/geronimo/gshell/remote/server/RshServer.java?rev=575528&r1=575527&r2=575528&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-server/src/main/java/org/apache/geronimo/gshell/remote/server/RshServer.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-server/src/main/java/org/apache/geronimo/gshell/remote/server/RshServer.java
Thu Sep 13 21:35:41 2007
@@ -51,7 +51,7 @@
 
     private SocketAcceptor acceptor;
 
-    private boolean ssl = false;
+    private boolean ssl = true;
 
     private boolean bound = false;
 
@@ -75,11 +75,11 @@
 
         if (ssl) {
             SSLFilter sslFilter = new SSLFilter(BogusSSLContextFactory.getInstance(true));
-            filterChain.addFirst("sslFilter", sslFilter);
+            filterChain.addFirst("ssl", sslFilter);
         }
 
         acceptor.bind();
-
+        
         log.info("Listening on port: {}", port);
 
         bound = true;



Mime
View raw message