MINA SSHD
  1. MINA SSHD
  2. SSHD-96

Virtual File System improvement for SCP and session injection

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.6.0
    • Labels:
      None

      Description

      The SCP Command does not yet use the Virtual File System implemented in SSHD-82.

      Another improvement is passing the ServerSession to FileSystemFactory instead of just the user name.

      This allows the injection of information known in the Authenticator into the file system.

      The particular use case is the implementation of a Virtual File System based on Apache Commons VFS.
      There the authenticator already contains the root file object (resulting from the authentication) which needs to be passed to the FileSystemView.

      1. sshd-96.patch
        14 kB
        Frank van der Kleij

        Issue Links

          Activity

          Hide
          Guillaume Nodet added a comment -

          Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
          M sshd-core/src/main/java/org/apache/sshd/client/UserAuth.java
          M sshd-core/src/main/java/org/apache/sshd/client/auth/UserAuthAgent.java
          M sshd-core/src/main/java/org/apache/sshd/client/auth/UserAuthPassword.java
          M sshd-core/src/main/java/org/apache/sshd/client/auth/UserAuthPublicKey.java
          M sshd-core/src/main/java/org/apache/sshd/client/session/ClientSessionImpl.java
          M sshd-core/src/main/java/org/apache/sshd/common/Session.java
          M sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java
          M sshd-core/src/main/java/org/apache/sshd/server/FileSystemFactory.java
          M sshd-core/src/main/java/org/apache/sshd/server/FileSystemView.java
          M sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java
          M sshd-core/src/main/java/org/apache/sshd/server/command/ScpCommand.java
          M sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemFactory.java
          M sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemView.java
          M sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
          Committed r1039541

          Show
          Guillaume Nodet added a comment - Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ... M sshd-core/src/main/java/org/apache/sshd/client/UserAuth.java M sshd-core/src/main/java/org/apache/sshd/client/auth/UserAuthAgent.java M sshd-core/src/main/java/org/apache/sshd/client/auth/UserAuthPassword.java M sshd-core/src/main/java/org/apache/sshd/client/auth/UserAuthPublicKey.java M sshd-core/src/main/java/org/apache/sshd/client/session/ClientSessionImpl.java M sshd-core/src/main/java/org/apache/sshd/common/Session.java M sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java M sshd-core/src/main/java/org/apache/sshd/server/FileSystemFactory.java M sshd-core/src/main/java/org/apache/sshd/server/FileSystemView.java M sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java M sshd-core/src/main/java/org/apache/sshd/server/command/ScpCommand.java M sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemFactory.java M sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemView.java M sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java Committed r1039541
          Hide
          Frank van der Kleij added a comment -

          This patch adds support for the Virtual Filesystem for SCP and allowd information exchange between the authenticator and the filesystem

          Show
          Frank van der Kleij added a comment - This patch adds support for the Virtual Filesystem for SCP and allowd information exchange between the authenticator and the filesystem
          Hide
          Frank van der Kleij added a comment -

          Sorry, I forgot the tests...I will submit a new patch

          Show
          Frank van der Kleij added a comment - Sorry, I forgot the tests...I will submit a new patch
          Hide
          Frank van der Kleij added a comment -

          This patch adds the requested changes.

          Show
          Frank van der Kleij added a comment - This patch adds the requested changes.

            People

            • Assignee:
              Guillaume Nodet
              Reporter:
              Frank van der Kleij
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development