I am finally working on a VFS implementation now. For me it be more practical if the FileSystemFactory would receive the Session instead of just the username.
The VFS Authenticator resolves the user name and password and string representing the root of the virtual filesystem and creates a FileObject. This FileObject should be injected in the FileSystemView, which can be done via the session. (In the past this information was picked up by the commands (shell, scp, sftp) through the setSession method) I also noticed that the SCP command is not yet using the FileSystemView. Should I propose a patch? Thanks, Frank > Date: Tue, 12 Oct 2010 14:33:17 -0400 > From: matthew.schu...@onlinebankingsolutions.com > To: dev@mina.apache.org > Subject: (SSHD-82) Virtual File System > > A patch has been attached to the SSHD-82 issue related to integrating a > Virtual File System similar to that in the Apache FTP Server into the > SSHD SFTP subsystem. The patch adds the VFS functionality, a native > filesystem implementation of the functionality, and a few other minor > improvements. > > Matthew Schulze