public class HttpUsersManagement extends Object implements HttpUsersManagementMBean
| Modifier and Type | Field and Description |
|---|---|
protected javolution.util.FastList<HttpUser> |
httpUsers |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpUsersManagement(String name) |
| Modifier and Type | Method and Description |
|---|---|
HttpUser |
createHttpUser(String userName,
String password,
int aNetworkId)
Creates the http user.
|
HttpUser |
destroyHttpUser(String userName) |
HttpUser |
getHttpUserByName(String userName) |
javolution.util.FastList<HttpUser> |
getHttpUsers() |
static HttpUsersManagement |
getInstance() |
static HttpUsersManagement |
getInstance(String name) |
String |
getName() |
String |
getPersistDir() |
void |
load()
Load and create LinkSets and Link from persisted file
|
void |
setPersistDir(String persistDir) |
void |
start() |
void |
stop() |
void |
store()
Persist
|
protected javolution.util.FastList<HttpUser> httpUsers
protected HttpUsersManagement(String name)
public static HttpUsersManagement getInstance(String name)
public static HttpUsersManagement getInstance()
public String getName()
public String getPersistDir()
public void setPersistDir(String persistDir)
public javolution.util.FastList<HttpUser> getHttpUsers()
getHttpUsers in interface HttpUsersManagementMBeanpublic HttpUser getHttpUserByName(String userName)
getHttpUserByName in interface HttpUsersManagementMBeanpublic HttpUser createHttpUser(String userName, String password, int aNetworkId) throws Exception
HttpUsersManagementMBeancreateHttpUser in interface HttpUsersManagementMBeanuserName - the user namepassword - the passwordaNetworkId - the network IDException - the exceptionpublic HttpUser destroyHttpUser(String userName) throws Exception
destroyHttpUser in interface HttpUsersManagementMBeanExceptionpublic void store()
public void load()
throws FileNotFoundException
ExceptionFileNotFoundExceptionCopyright © 2017. All Rights Reserved.