mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Bell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FTPSERVER-205) missing user management docs
Date Mon, 03 Nov 2008 15:41:44 GMT

    [ https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644737#action_12644737

Gary Bell commented on FTPSERVER-205:

You can manually edit the user properties file, using the MD5 encrypt webpage at http://www.iwebtool.com/md5
to create the password hash. You have to restart the server to get it to see the change though.
We have implemented a custom SITE UPDATE command to create a new UserManager object and call
the setUserManager() on the default listener:

FtpServer server = new FtpServer();
String filename = "c:\bar\foo.properties"; //name of user property file.


=== Snippet from onSite() method call ===
PropertiesUserManager userManager = new PropertiesUserManager();
userManager.setFile(new File(filename)); //re-read the properties file with the newly added

This seems to work OK for us.

> missing user management docs
> ----------------------------
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
> There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's
one page which mentions the admin GUI app which is not available in the distribution (see
issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism
by which I can add and administer users on the server, which makes it pretty much unusable.

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

View raw message