Update Server Configuration for Relay Server

Updates the server configuration for Relay Server.

Syntax

void updateServerConfigurationForRelayServer(ServerComponentVO serverComponent) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Update
    // get
    supServerConf.refresh();
    ServerComponentVO componentVO = supServerConf
    		.getServerConfigurationForRelayServer();
    System.out.println(componentVO.getProperties());
    // update
    componentVO.getProperties().put("relayserver.trusted_certs",
    		"Repository/Security/myRelayServerTrustedCert.cert");
    supServerConf.updateServerConfigurationForRelayServer(componentVO);
    supServerConf.commit();