Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-1, 3.0-beta-2
    • Fix Version/s: 3.1
    • Component/s: security, server
    • Labels:
      None
    1. simplified-ssl.txt
      5 kB
      David Blevins
    2. openejb-server.zip
      344 kB
      Kazem Naderi
    3. openejb-client.zip
      792 kB
      Kazem Naderi

      Activity

      Hide
      Kazem Naderi added a comment -

      Unzip this file into the Server folder to replace openejb-client.

      The changes you will see are:
      New imprt statemant in ConnectionManager.java
      New org.apache.openejb.client.socket package

      Show
      Kazem Naderi added a comment - Unzip this file into the Server folder to replace openejb-client. The changes you will see are: New imprt statemant in ConnectionManager.java New org.apache.openejb.client.socket package
      Hide
      Kazem Naderi added a comment -

      Unzip this file into the Server folder to replace openejb-server.

      The changes you will see are:
      ServiceDaemon.java
      New org.apache.openejb.server.socket package

      Show
      Kazem Naderi added a comment - Unzip this file into the Server folder to replace openejb-server. The changes you will see are: ServiceDaemon.java New org.apache.openejb.server.socket package
      Hide
      Kazem Naderi added a comment -

      Please see the two attached zip files.

      Since I have never been able to run openejb build successfully on my machine I cannot verify that my changes do not introduce any build failures. On eclipse everything is fine and my unit tests pass. This is why I have not checked in my changes and have attached them to this Jira Item.

      I added some implementation to openejb-client and openejb-server where it allows using either normal Socket tor SSLSocket.

      On the server side the ServerDaemon.java checks for a "secure" property value. If the value is true then it will create an SSLServerSocket and SSLServerSocketConnectionListener for communication, otherwise it behaves as it was before.

      On the client side the SocketConnectionFactory again checks for the "secure" property value to decide whether to create an SSLSocketConnection or normal SocketConnection.

      How to integrate this with the rest of the system(Geranimo,...) I am not sure. I do not think this should be difficult. My changes are very modular and self-contained.

      Getting these changes and without introducing the new property for secure connection, openejb should work as it has been before and default to creating normal Sockets on both client and server.

      I appreciate your feedback and please let me know how I can help to get this introduced to the latest release.

      Show
      Kazem Naderi added a comment - Please see the two attached zip files. Since I have never been able to run openejb build successfully on my machine I cannot verify that my changes do not introduce any build failures. On eclipse everything is fine and my unit tests pass. This is why I have not checked in my changes and have attached them to this Jira Item. I added some implementation to openejb-client and openejb-server where it allows using either normal Socket tor SSLSocket. On the server side the ServerDaemon.java checks for a "secure" property value. If the value is true then it will create an SSLServerSocket and SSLServerSocketConnectionListener for communication, otherwise it behaves as it was before. On the client side the SocketConnectionFactory again checks for the "secure" property value to decide whether to create an SSLSocketConnection or normal SocketConnection. How to integrate this with the rest of the system(Geranimo,...) I am not sure. I do not think this should be difficult. My changes are very modular and self-contained. Getting these changes and without introducing the new property for secure connection, openejb should work as it has been before and default to creating normal Sockets on both client and server. I appreciate your feedback and please let me know how I can help to get this introduced to the latest release.
      Hide
      David Blevins added a comment -
      Show
      David Blevins added a comment - All checked in: http://svn.apache.org/viewvc?view=rev&revision=655683

        People

        • Assignee:
          Kazem Naderi
          Reporter:
          David Blevins
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development