Class SecurityOfficerOMASResource
java.lang.Object
org.odpi.openmetadata.accessservices.securityofficer.spring.SecurityOfficerOMASResource
@RestController
@RequestMapping("/servers/{serverName}/open-metadata/access-services/security-officer/users/{userId}")
public class SecurityOfficerOMASResource
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeleteSecurityTagBySchemaElementIdentifier
(String serverName, String userId, String schemaElementId) Delete the security tag for the given schema elementgetSecurityTagBySchemaElementIdentifier
(String serverName, String userId) Returns the security tags availablegetSecurityTagBySchemaElementIdentifier
(String serverName, String userId, String schemaElementId) Returns the security tag for the given schema elementgetSecurityTagBySchemaElementIdentifier
(String serverName, String userId, String schemaElementId, SecurityClassification securityTagClassification) Save or update the security tag for the given schema element
-
Constructor Details
-
SecurityOfficerOMASResource
public SecurityOfficerOMASResource()
-
-
Method Details
-
getSecurityTagBySchemaElementIdentifier
@GetMapping(path="/security-tag/element/{schemaElementId}", produces="application/json") public SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable String serverName, @PathVariable String userId, @PathVariable String schemaElementId) Returns the security tag for the given schema element- Parameters:
serverName
- name of the server instances for this requestuserId
- String - userId of user making request.schemaElementId
- unique identifier of the schema element
-
getSecurityTagBySchemaElementIdentifier
@PostMapping(path="/security-tag/element/{schemaElementId}", produces="application/json") public SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable String serverName, @PathVariable String userId, @PathVariable String schemaElementId, @RequestBody SecurityClassification securityTagClassification) Save or update the security tag for the given schema element- Parameters:
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
-
deleteSecurityTagBySchemaElementIdentifier
@DeleteMapping(path="/security-tag/element/{schemaElementId}", produces="application/json") public SecurityOfficerOMASAPIResponse deleteSecurityTagBySchemaElementIdentifier(@PathVariable String serverName, @PathVariable String userId, @PathVariable String schemaElementId) Delete the security tag for the given schema element- Parameters:
serverName
- name of the server instances for this requestuserId
- String - userId of user making request.schemaElementId
- unique identifier of the schema element
-
getSecurityTagBySchemaElementIdentifier
@GetMapping(path="/security-tag", produces="application/json") public SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable String serverName, @PathVariable String userId) Returns the security tags available- Parameters:
serverName
- name of the server instances for this requestuserId
- String - userId of user making request.
-