@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}/security")
public class ConfigOpenMetadataServerSecurityResource
extends Object
| Constructor and Description |
|---|
ConfigOpenMetadataServerSecurityResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearServerSecurityConnection(String userId,
String serverName)
Clear the connection object for the server security connector.
|
ConnectionResponse |
getServerSecurityConnection(String userId,
String serverName)
Return the connection object for the server security connector.
|
VoidResponse |
setServerSecurityConnection(String userId,
String serverName,
Connection connection)
Override the default server security connector.
|
public ConfigOpenMetadataServerSecurityResource()
@PostMapping(path="/connection") public VoidResponse setServerSecurityConnection(@PathVariable String userId, @PathVariable String serverName, @RequestBody Connection connection)
userId - calling user.serverName - server to configureconnection - connection used to create and configure the connector.@GetMapping(path="/connection") public ConnectionResponse getServerSecurityConnection(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - server to retrieve configuration from@DeleteMapping(path="/connection") public VoidResponse clearServerSecurityConnection(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - server to configureCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.