| | |
| | | public final String account;
|
| | |
|
| | | private final char[] password;
|
| | | |
| | |
|
| | | private volatile boolean allowManagement;
|
| | |
|
| | | private volatile boolean allowAdministration;
|
| | |
| | | public boolean allowManagement() {
|
| | | return allowManagement;
|
| | | }
|
| | | |
| | |
|
| | | public boolean allowAdministration() {
|
| | | return allowAdministration;
|
| | | }
|
| | |
| | | allUsers.addAll(users);
|
| | | return allUsers;
|
| | | }
|
| | | |
| | |
|
| | | public ServerSettings refreshSettings() throws IOException {
|
| | | settings = RpcUtils.getSettings(url, account, password);
|
| | | return settings;
|
| | |
| | | public boolean deleteUser(UserModel user) throws IOException {
|
| | | return RpcUtils.deleteUser(user, url, account, password);
|
| | | }
|
| | |
|
| | | public boolean updateSettings(Map<String, String> newSettings) throws IOException {
|
| | | return RpcUtils.updateSettings(newSettings, url, account, password);
|
| | | }
|
| | | }
|