Class SecurityOfficerRESTService
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securityofficer.server.services.SecurityOfficerRESTService
-
public class SecurityOfficerRESTService extends Object
The SecurityOfficerRESTService provides the server-side implementation of the Security Officer Open Metadata Assess Service (OMAS).
-
-
Constructor Summary
Constructors Constructor Description SecurityOfficerRESTService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityOfficerSchemaElementListResponsedeleteSecurityTag(String serverName, String userId, String schemaElementId)Delete the security tag for the given schema elementSecurityOfficerSecurityTagResponsegetSecurityTagBySchemaElementId(String serverName, String userId, String schemaElementId)Returns the security tag for the given schema elementSecurityOfficerSecurityTagListResponsegetSecurityTags(String serverName, String userId)Returns the security tags availableSecurityOfficerSchemaElementListResponseupdateSecurityTag(String serverName, String userId, String schemaElementId, SecurityClassification securityClassification)Save or update the security tag for the given schema element
-
-
-
Method Detail
-
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
public SecurityOfficerSecurityTagListResponse getSecurityTags(String serverName, String userId)
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
-
-