Class OMAGServerAdminSecurityServices
java.lang.Object
org.odpi.openmetadata.adminservices.server.OMAGServerAdminSecurityServices
OMAGServerAdminSecurityServices provides the capability to set up the open metadata security connector
for a server.
The Open Metadata Server Security Connector verifies the authorization of calls to a specific server.
The connector is configured with a Connection. The connection for the Open Metadata Server Security Connector
is stored in the server's configuration document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearServerSecurityConnection(String userId, String serverName) Clear the connection object for the server security connector.org.odpi.openmetadata.adminservices.rest.ConnectionResponsegetServerSecurityConnection(String userId, String serverName) Return the connection object for the server security connector.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetServerSecurityConnection(String userId, String serverName, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Override the default server security connector.
-
Constructor Details
-
OMAGServerAdminSecurityServices
public OMAGServerAdminSecurityServices()
-
-
Method Details
-
setServerSecurityConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setServerSecurityConnection(String userId, String serverName, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Override the default server security connector.- Parameters:
userId- calling user.serverName- server to configureconnection- connection used to create and configure the connector.- Returns:
- void response
-
getServerSecurityConnection
public org.odpi.openmetadata.adminservices.rest.ConnectionResponse getServerSecurityConnection(String userId, String serverName) Return the connection object for the server security connector.- Parameters:
userId- calling userserverName- server to retrieve configuration from- Returns:
- connection response
-
clearServerSecurityConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearServerSecurityConnection(String userId, String serverName) Clear the connection object for the server security connector. This sets the server security back to default.- Parameters:
userId- calling userserverName- server to configure- Returns:
- connection response
-