Class SecurityOfficerRESTService


  • public class SecurityOfficerRESTService
    extends Object
    The SecurityOfficerRESTService provides the server-side implementation of the Security Officer Open Metadata Assess Service (OMAS).
    • Constructor Detail

      • SecurityOfficerRESTService

        public SecurityOfficerRESTService()
    • 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 request
        userId - 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 request
        userId - 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 request
        userId - String - userId of user making request.
        securityClassification - security tag assigned to the schema element
        schemaElementId - 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 request
        userId - String - userId of user making request.
        schemaElementId - unique identifier of the schema element