Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.6.0
-
None
-
None
-
Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: C:\Java\apache-maven-3.0.3\bin\..
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_29\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) Maven home: C:\Java\apache-maven-3.0.3\bin\.. Java version: 1.6.0_29, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_29\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Description
I need an API to configure a user and his home directory, just like you can with Apache's FTP server BaseUser class (http://mina.apache.org/ftpserver/):
final BaseUser user = (BaseUser) userManager.getUserByName("test"); user.setHomeDirectory(getTestDirectory());
My goal is to embed an SSHd server in the SFTP unit tests for Apache Commons VFS.
I need to point the test user's home directory to a subdirectory in the projects's resources.
Attachments
Issue Links
- is superceded by
-
SSHD-265 Provide a file system that can be locked to a dir (eventually user dependant)
- Resolved