Details
Description
Currently, there is no method by which manual updates to a "user list" properties file that backs the PropertiesUserManager class can be loaded into a running server. You have to stop and then restart the server to see any changes.
We are using FTPServer in embedded mode, and we need the site administrator to be able to hand-edit the file and then issue a custom function in our application to get the running server to reload the properties file. Prior to FTPServer-187, we handled this use case by creating a new instance of the PropertiesUserManager class using the newly-updated properties file and then calling server.getListener("default").setUserManager(...) .
My suggestion is to add a refresh() method to the PropertiesUserManager class that will reload the properties file directly. Only new calls to getUserByName() would return the updated information - existing BaseUser instances remain unchanged.