@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/security-officer/users/{userId}")
public class SecurityOfficerOMASResource
extends Object
| Constructor and Description |
|---|
SecurityOfficerOMASResource() |
| Modifier and Type | Method and Description |
|---|---|
SecurityOfficerOMASAPIResponse |
deleteSecurityTagBySchemaElementIdentifier(String serverName,
String userId,
String schemaElementId)
Delete the security tag for the given schema element
|
SecurityOfficerOMASAPIResponse |
getSecurityTagBySchemaElementIdentifier(String serverName,
String userId)
Returns the security tags available
|
SecurityOfficerOMASAPIResponse |
getSecurityTagBySchemaElementIdentifier(String serverName,
String userId,
String schemaElementId)
Returns the security tag for the given schema element
|
SecurityOfficerOMASAPIResponse |
getSecurityTagBySchemaElementIdentifier(String serverName,
String userId,
String schemaElementId,
SecurityClassification securityTagClassification)
Save or update the security tag for the given schema element
|
@GetMapping(path="/security-tag/element/{schemaElementId}",
produces="application/json")
public SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String schemaElementId)
serverName - name of the server instances for this requestuserId - String - userId of user making request.schemaElementId - unique identifier of the schema element@PostMapping(path="/security-tag/element/{schemaElementId}",
produces="application/json")
public SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String schemaElementId,
@RequestBody
SecurityClassification securityTagClassification)
serverName - name of the server instances for this requestuserId - String - userId of user making request.securityTagClassification - security tag assigned to the schema elementschemaElementId - unique identifier of the schema element@DeleteMapping(path="/security-tag/element/{schemaElementId}",
produces="application/json")
public SecurityOfficerOMASAPIResponse deleteSecurityTagBySchemaElementIdentifier(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String schemaElementId)
serverName - name of the server instances for this requestuserId - String - userId of user making request.schemaElementId - unique identifier of the schema element@GetMapping(path="/security-tag",
produces="application/json")
public SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable
String serverName,
@PathVariable
String userId)
serverName - name of the server instances for this requestuserId - String - userId of user making request.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.