Class SecurityOfficerRESTService
java.lang.Object
org.odpi.openmetadata.accessservices.securityofficer.server.services.SecurityOfficerRESTService
The SecurityOfficerRESTService provides the server-side implementation of the Security Officer Open Metadata Assess Service (OMAS).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteSecurityTag
(String serverName, String userId, String schemaElementId) Delete the security tag for the given schema elementgetSecurityTagBySchemaElementId
(String serverName, String userId, String schemaElementId) Returns the security tag for the given schema elementgetSecurityTags
(String serverName, String userId) Returns the security tags availableupdateSecurityTag
(String serverName, String userId, String schemaElementId, SecurityClassification securityClassification) Save or update the security tag for the given schema element
-
Constructor Details
-
SecurityOfficerRESTService
public SecurityOfficerRESTService()
-
-
Method Details
-
getSecurityTagBySchemaElementId
public SecurityOfficerSecurityTagResponse getSecurityTagBySchemaElementId(String serverName, String userId, 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
-
getSecurityTags
Returns the security tags available- Parameters:
serverName
- name of the server instances for this requestuserId
- String - userId of user making request.
-
updateSecurityTag
public SecurityOfficerSchemaElementListResponse updateSecurityTag(String serverName, String userId, String schemaElementId, SecurityClassification securityClassification) 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.securityClassification
- security tag assigned to the schema elementschemaElementId
- unique identifier of the schema element
-
deleteSecurityTag
public SecurityOfficerSchemaElementListResponse deleteSecurityTag(String serverName, String userId, 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
-