public class OMAGServerPlatformConfigurationClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
adminUserId |
protected String |
serverPlatformRootURL |
| Constructor and Description |
|---|
OMAGServerPlatformConfigurationClient(String adminUserId,
String serverPlatformRootURL)
Create a new client with no authentication embedded in the HTTP request.
|
OMAGServerPlatformConfigurationClient(String adminUserId,
String serverPlatformRootURL,
String connectionUserId,
String connectionPassword)
Create a new client that passes a connection userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearConfigurationStoreConnection()
Clear the connection object for the configuration store which means the platform uses the default store.
|
void |
clearPlatformSecurityConnection()
Clear the connection object for platform security.
|
Connection |
getConfigurationStoreConnection()
Return the connection object for the configuration store.
|
Connection |
getPlatformSecurityConnection()
Return the connection object for platform security connector.
|
void |
setConfigurationStoreConnection(Connection connection)
Override the default implementation or configuration of the configuration document store.
|
void |
setPlatformSecurityConnection(Connection connection)
Set up a platform security connector.
|
protected String adminUserId
protected String serverPlatformRootURL
public OMAGServerPlatformConfigurationClient(String adminUserId, String serverPlatformRootURL) throws OMAGInvalidParameterException
adminUserId - administrator's (end user's) userId to associate with calls.serverPlatformRootURL - the network address of the server running the admin servicesOMAGInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public OMAGServerPlatformConfigurationClient(String adminUserId, String serverPlatformRootURL, String connectionUserId, String connectionPassword) throws OMAGInvalidParameterException
adminUserId - administrator's (end user's) userId to associate with calls.serverPlatformRootURL - the network address of the server running the admin servicesconnectionUserId - caller's system userId embedded in all HTTP requestsconnectionPassword - caller's system password embedded in all HTTP requestsOMAGInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public void setConfigurationStoreConnection(Connection connection) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
connection - connection object that defines the configuration document storeOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void clearConfigurationStoreConnection()
throws OMAGNotAuthorizedException,
OMAGInvalidParameterException,
OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public Connection getConfigurationStoreConnection() throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void setPlatformSecurityConnection(Connection connection) throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
connection - connection object that defines the platform security connectorOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public void clearPlatformSecurityConnection()
throws OMAGNotAuthorizedException,
OMAGInvalidParameterException,
OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.public Connection getPlatformSecurityConnection() throws OMAGNotAuthorizedException, OMAGInvalidParameterException, OMAGConfigurationErrorException
OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.OMAGInvalidParameterException - invalid parameter.OMAGConfigurationErrorException - unusual state in the admin server.Copyright © 2018–2020 ODPi. All rights reserved.