Class SecurityOfficerRequestHandler
java.lang.Object
org.odpi.openmetadata.accessservices.securityofficer.server.handler.SecurityOfficerRequestHandler
SecurityOfficerRequestHandler supports REST requests for security officer function.
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityOfficerRequestHandler(String serviceName, String serverName, org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, org.odpi.openmetadata.commonservices.repositoryhandler.RepositoryHandler repositoryHandler, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollection metadataCollection, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, org.odpi.openmetadata.commonservices.repositoryhandler.RepositoryErrorHandler errorHandler, List<String> supportedZones, SecurityOfficerPublisher securityOfficerPublisher) Construct the handler information needed to interact with the repository services -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.accessservices.securityofficer.api.model.SecuritySchemaElement>deleteSecurityTagBySchemaElementId(String userId, String schemaElementId, String methodName) List<org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification>getAvailableSecurityTags(String userId, String methodName) org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassificationgetSecurityTagBySchemaElementId(String userId, String schemaElementId, String methodName) List<org.odpi.openmetadata.accessservices.securityofficer.api.model.SecuritySchemaElement>updateSecurityTagBySchemaElementId(String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification securityClassification, String methodName)
-
Constructor Details
-
SecurityOfficerRequestHandler
public SecurityOfficerRequestHandler(String serviceName, String serverName, org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, org.odpi.openmetadata.commonservices.repositoryhandler.RepositoryHandler repositoryHandler, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollection metadataCollection, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, org.odpi.openmetadata.commonservices.repositoryhandler.RepositoryErrorHandler errorHandler, List<String> supportedZones, SecurityOfficerPublisher securityOfficerPublisher) Construct the handler information needed to interact with the repository services- Parameters:
serviceName- name of this serviceserverName- name of the local serverinvalidParameterHandler- handler for managing parameter errorsrepositoryHandler- manages calls to the repository servicesrepositoryHelper- provides utilities for manipulating the repository services objectserrorHandler- provides utilities for manipulating the repository servicessupportedZones- setting of the supported zones for the handlersecurityOfficerPublisher- outbound publisher
-
-
Method Details
-
getSecurityTagBySchemaElementId
public org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification getSecurityTagBySchemaElementId(String userId, String schemaElementId, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
-
updateSecurityTagBySchemaElementId
public List<org.odpi.openmetadata.accessservices.securityofficer.api.model.SecuritySchemaElement> updateSecurityTagBySchemaElementId(String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification securityClassification, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.ClassificationErrorException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityProxyOnlyException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.ClassificationErrorExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityProxyOnlyExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotKnownExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorException
-
deleteSecurityTagBySchemaElementId
public List<org.odpi.openmetadata.accessservices.securityofficer.api.model.SecuritySchemaElement> deleteSecurityTagBySchemaElementId(String userId, String schemaElementId, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityProxyOnlyException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.ClassificationErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityProxyOnlyExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.ClassificationErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotKnownExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorException
-
getAvailableSecurityTags
public List<org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification> getAvailableSecurityTags(String userId, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotKnownException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.ClassificationErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotKnownExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.ClassificationErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PropertyErrorException
-