Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-96

Virtual File System improvement for SCP and session injection

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.6.0
    • 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.

      Attachments

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

        Issue Links

          Activity

            This patch adds the requested changes.

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

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

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

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

            kleij 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

            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

            gnodet 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

            People

              gnodet Guillaume Nodet
              kleij Frank van der Kleij
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: