public interface VirtualHostRealmConfig extends Config
This is part of the configuration of a Virtual Host
. It defines the users of the realm.
Modifier and Type | Method and Description |
---|---|
VirtualHostRealmUserConfig |
addUser(String name,
String password)
Add a realm user.
|
String |
getName()
Gets the realm name.
|
String |
getPath()
Gets the realm path.
|
VirtualHostRealmUserConfig |
getUser(String name)
Gets a named realm user.
|
List<VirtualHostRealmUserConfig> |
getUsers()
Gets the realm users.
|
VirtualHostRealmUserConfig |
removeUser(String name)
Remove a realm user.
|
String getName()
String getPath()
List<VirtualHostRealmUserConfig> getUsers()
VirtualHostRealmUserConfig getUser(String name)
name
- the user nameVirtualHostRealmUserConfig addUser(String name, String password) throws ConfigException
name
- user namepassword
- the passwordConfigException
- if unable to add realm userVirtualHostRealmUserConfig removeUser(String name) throws ConfigException
name
- realm user nameConfigException
- if unable to removeCopyright © 2021 Push Technology Ltd. All Rights Reserved.