Class OMAGServerAdminSecurityServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
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 TypeMethodDescriptionclearServerSecurityConnection(String serverName, String delegatingUserId) Clear the connection object for the server security connector.getServerSecurityConnection(String serverName, String delegatingUserId) Return the connection object for the server security connector.setServerSecurityConnection(String serverName, String delegatingUserId, Connection connection) Override the default server security connector.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
OMAGServerAdminSecurityServices
public OMAGServerAdminSecurityServices()
-
-
Method Details
-
setServerSecurityConnection
public VoidResponse setServerSecurityConnection(String serverName, String delegatingUserId, Connection connection) Override the default server security connector.- Parameters:
serverName- server to configuredelegatingUserId- external userId making requestconnection- connection used to create and configure the connector.- Returns:
- void response
-
getServerSecurityConnection
Return the connection object for the server security connector.- Parameters:
serverName- server to retrieve configuration fromdelegatingUserId- external userId making request- Returns:
- connection response
-
clearServerSecurityConnection
Clear the connection object for the server security connector. This sets the server security back to default.- Parameters:
serverName- server to configuredelegatingUserId- external userId making request- Returns:
- connection response
-