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 TypeMethodDescriptionorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponsedeleteSecurityTag(String serverName, String userId, String schemaElementId) Delete the security tag for the given schema elementorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSecurityTagResponsegetSecurityTagBySchemaElementId(String serverName, String userId, String schemaElementId) Returns the security tag for the given schema elementorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSecurityTagListResponsegetSecurityTags(String serverName, String userId) Returns the security tags availableorg.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponseupdateSecurityTag(String serverName, String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification securityClassification) Save or update the security tag for the given schema element
-
Constructor Details
-
SecurityOfficerRESTService
public SecurityOfficerRESTService()
-
-
Method Details
-
getSecurityTagBySchemaElementId
public org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponse updateSecurityTag(String serverName, String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.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 org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.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
-