Properties File Based User Manager
This is the default user manager. It uses a properties file to store all the user information.
...
Example
...
Configuration Parameter
...
Description
Code Block |
---|
<file- |
...
user-manager |
...
org.apache.ftpserver.usermanager.propertiesUserManager
...
config.user-manager.admin
...
Admin user name. The default value is admin.
...
config.user-manager.prop-file
...
The properties file location. The default value is ./res/user.gen
...
config.user-manager.prop-password-encrypt
...
It indicates whether the password will be stored in encrypted for or not. The default value is true.
...
file="users.properties" encrypt-passwords="true" />
|
file-user-manager element
Attribute | Description | Required | Default value |
---|---|---|---|
file | Path to the properties file for storing users | Yes |
|
encrypt-passwords | It indicates how to stored password are encrypted. Possible values are "clear" for clear text, "md5" for hashed using MD5 or "salted" for hashed salted passwords (including multiple hash iterations). "salted" is encouraged. | No | md5 |