| | |
| | |
|
| | | try {
|
| | | refreshSettings();
|
| | | status = RpcUtils.getStatus(url, account, password);
|
| | | refreshStatus();
|
| | | allowAdministration = true;
|
| | | } catch (UnauthorizedException e) {
|
| | | } catch (ForbiddenException e) {
|
| | |
| | | settings = RpcUtils.getSettings(url, account, password);
|
| | | return settings;
|
| | | }
|
| | | |
| | | public ServerStatus refreshStatus() throws IOException {
|
| | | status = RpcUtils.getStatus(url, account, password);
|
| | | return status;
|
| | | }
|
| | |
|
| | | public List<FederationModel> refreshFederationRegistrations() throws IOException {
|
| | | List<FederationModel> list = RpcUtils.getFederationRegistrations(url, account, password);
|