| | |
| | | } |
| | | if (couldInitializeConfig) |
| | | { |
| | | // Get the Directory Server configuration handler and use it. |
| | | RootCfg root = |
| | | DirectoryServer.getInstance().getServerContext().getServerManagementContext().getRootConfiguration(); |
| | | RootCfg root = DirectoryServer.getInstance().getServerContext().getRootConfig(); |
| | | administrationConnectorCfg = root.getAdministrationConnector(); |
| | | |
| | | String trustManagerStr = administrationConnectorCfg.getTrustManagerProvider(); |
| | |
| | | } |
| | | if (couldInitializeConfiguration) |
| | | { |
| | | RootCfg root = |
| | | DirectoryServer.getInstance().getServerContext().getServerManagementContext().getRootConfiguration(); |
| | | RootCfg root = DirectoryServer.getInstance().getServerContext().getRootConfig(); |
| | | return root.getAdministrationConnector().getListenPort(); |
| | | } |
| | | else |
| | |
| | | // check if the initialization is required |
| | | try |
| | | { |
| | | DirectoryServer.getInstance().getServerContext().getServerManagementContext() |
| | | .getRootConfiguration().getAdministrationConnector(); |
| | | DirectoryServer.getInstance().getServerContext().getRootConfig().getAdministrationConnector(); |
| | | } |
| | | catch (java.lang.Throwable th) |
| | | catch (Throwable th) |
| | | { |
| | | try |
| | | { |