You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Frank van der Kleij (JIRA)" <ji...@apache.org> on 2010/11/12 15:23:13 UTC

[jira] Created: (SSHD-96) Virtual File System improvement for SCP and session injection

Virtual File System improvement for SCP and session injection
-------------------------------------------------------------

                 Key: SSHD-96
                 URL: https://issues.apache.org/jira/browse/SSHD-96
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 0.5.0
            Reporter: Frank van der Kleij


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.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SSHD-96) Virtual File System improvement for SCP and session injection

Posted by "Frank van der Kleij (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank van der Kleij updated SSHD-96:
------------------------------------

    Attachment:     (was: sshd-96.patch)

> Virtual File System improvement for SCP and session injection
> -------------------------------------------------------------
>
>                 Key: SSHD-96
>                 URL: https://issues.apache.org/jira/browse/SSHD-96
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Frank van der Kleij
>         Attachments: sshd-96.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SSHD-96) Virtual File System improvement for SCP and session injection

Posted by "Frank van der Kleij (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SSHD-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931673#action_12931673 ] 

Frank van der Kleij commented on SSHD-96:
-----------------------------------------

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

> Virtual File System improvement for SCP and session injection
> -------------------------------------------------------------
>
>                 Key: SSHD-96
>                 URL: https://issues.apache.org/jira/browse/SSHD-96
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Frank van der Kleij
>         Attachments: sshd-96.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SSHD-96) Virtual File System improvement for SCP and session injection

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-96.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6.0
         Assignee: Guillaume Nodet

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


> Virtual File System improvement for SCP and session injection
> -------------------------------------------------------------
>
>                 Key: SSHD-96
>                 URL: https://issues.apache.org/jira/browse/SSHD-96
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Frank van der Kleij
>            Assignee: Guillaume Nodet
>             Fix For: 0.6.0
>
>         Attachments: sshd-96.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SSHD-96) Virtual File System improvement for SCP and session injection

Posted by "Frank van der Kleij (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank van der Kleij updated SSHD-96:
------------------------------------

    Attachment: sshd-96.patch

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

> Virtual File System improvement for SCP and session injection
> -------------------------------------------------------------
>
>                 Key: SSHD-96
>                 URL: https://issues.apache.org/jira/browse/SSHD-96
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Frank van der Kleij
>         Attachments: sshd-96.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SSHD-96) Virtual File System improvement for SCP and session injection

Posted by "Frank van der Kleij (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank van der Kleij updated SSHD-96:
------------------------------------

    Attachment: sshd-96.patch

This patch adds the requested changes. 

> Virtual File System improvement for SCP and session injection
> -------------------------------------------------------------
>
>                 Key: SSHD-96
>                 URL: https://issues.apache.org/jira/browse/SSHD-96
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Frank van der Kleij
>         Attachments: sshd-96.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.