|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.usermanager.PropertiesUserManagerFactory
public class PropertiesUserManagerFactory
Factory for the properties file based UserManager implementation.
| Constructor Summary | |
|---|---|
PropertiesUserManagerFactory()
|
|
| Method Summary | |
|---|---|
UserManager |
createUserManager()
Creates a PropertiesUserManager instance based on the provided configuration |
java.lang.String |
getAdminName()
Get the admin name. |
java.io.File |
getFile()
Retrieve the file used to load and store users |
PasswordEncryptor |
getPasswordEncryptor()
Retrieve the password encryptor used by user managers created by this factory |
java.net.URL |
getUrl()
Retrieve the URL used to load and store users |
void |
setAdminName(java.lang.String adminName)
Set the name to use as the administrator of the server. |
void |
setFile(java.io.File propFile)
Set the file used to store and read users. |
void |
setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
Set the password encryptor to use by user managers created by this factory |
void |
setUrl(java.net.URL userDataURL)
Set the URL used to store and read users. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesUserManagerFactory()
| Method Detail |
|---|
public UserManager createUserManager()
PropertiesUserManager instance based on the provided configuration
createUserManager in interface UserManagerFactoryUserManagerpublic java.lang.String getAdminName()
public void setAdminName(java.lang.String adminName)
adminName - The administrator user namepublic java.io.File getFile()
public void setFile(java.io.File propFile)
propFile - A file containing userspublic java.net.URL getUrl()
URLpublic void setUrl(java.net.URL userDataURL)
userDataURL - A URL containing userspublic PasswordEncryptor getPasswordEncryptor()
Md5PasswordEncryptor
if no other has been providedpublic void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
passwordEncryptor - The password encryptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||