@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}")
public class ConfigOpenMetadataSecurityResource
extends Object
| Constructor and Description |
|---|
ConfigOpenMetadataSecurityResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearPlatformSecurityConnection(String userId)
Clear the connection object for platform security.
|
VoidResponse |
clearServerSecurityConnection(String userId,
String serverName)
Clear the connection object for the server security connector.
|
ConnectionResponse |
getPlatformSecurityConnection(String userId)
Return the connection object for platform security connector.
|
ConnectionResponse |
getServerSecurityConnection(String userId,
String serverName)
Return the connection object for the server security connector.
|
VoidResponse |
setPlatformSecurityConnection(String userId,
PlatformSecurityRequestBody requestBody)
Set up a platform security connector
|
VoidResponse |
setServerSecurityConnection(String userId,
String serverName,
Connection connection)
Override the default server security connector.
|
@RequestMapping(method=POST,
path="/platform/security/connection")
public VoidResponse setPlatformSecurityConnection(@PathVariable
String userId,
@RequestBody
PlatformSecurityRequestBody requestBody)
userId - calling user.requestBody - requestBody used to create and configure the connector that performs platform security@RequestMapping(method=GET,
path="/platform/security/connection")
public ConnectionResponse getPlatformSecurityConnection(@PathVariable
String userId)
userId - calling user@RequestMapping(method=DELETE,
path="/platform/security/connection")
public VoidResponse clearPlatformSecurityConnection(@PathVariable
String userId)
userId - calling user@RequestMapping(method=POST,
path="/servers/{serverName}/security/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.@RequestMapping(method=GET,
path="/servers/{serverName}/security/connection")
public ConnectionResponse getServerSecurityConnection(@PathVariable
String userId,
@PathVariable
String serverName)
userId - calling userserverName - server to retrieve configuration from@RequestMapping(method=DELETE,
path="/servers/{serverName}/security/connection")
public VoidResponse clearServerSecurityConnection(@PathVariable
String userId,
@PathVariable
String serverName)
userId - calling userserverName - server to configureCopyright © 2018–2019 ODPi. All rights reserved.