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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerOMASAPIResponsedeleteSecurityTagBySchemaElementIdentifier(String serverName, String userId, String schemaElementId) Delete the security tag for the given schema elementorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerOMASAPIResponsegetSecurityTagBySchemaElementIdentifier(String serverName, String userId) Returns the security tags availableorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerOMASAPIResponsegetSecurityTagBySchemaElementIdentifier(String serverName, String userId, String schemaElementId) Returns the security tag for the given schema elementorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerOMASAPIResponsegetSecurityTagBySchemaElementIdentifier(String serverName, String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerOMASAPIResponse getSecurityTagBySchemaElementIdentifier(@PathVariable String serverName, @PathVariable String userId, @PathVariable String schemaElementId, @RequestBody org.odpi.openmetadata.accessservices.securityofficer.api.model.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.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.
-