Class SecurityOfficerInstanceHandler

java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstanceHandler
org.odpi.openmetadata.accessservices.securityofficer.server.services.SecurityOfficerInstanceHandler

public class SecurityOfficerInstanceHandler extends org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstanceHandler
GovernanceEngineServiceInstanceHandler retrieves information from the instance map for the access service instances. The instance map is thread-safe. Instances are added and removed by the GovernanceEngineAdmin class.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor registers the access service
  • Method Summary

    Modifier and Type
    Method
    Description
    getGovernedAssetHandler(String userId, String serverName, String serviceOperationName)
    Retrieve the governance assets handler for the access service
    getSecurityOfficerRequestHandler(String userId, String serverName, String serviceOperationName)
    Retrieve the governance assets handler for the access service

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstanceHandler

    getDefaultZones, getDefaultZones, getErrorHandler, getExceptionHandler, getInTopicConnection, getMetadataCollection, getOutTopicConnection, getPublishZones, getPublishZones, getRepositoryConnector, getRepositoryHandler, getRepositoryHelper, getServiceName, getSupportedZones, getSupportedZones

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler

    getAuditLog

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler

    getServerSecurityVerifier, getServiceName, isServerActive, removeServerServiceInstance

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SecurityOfficerInstanceHandler

      public SecurityOfficerInstanceHandler()
      Default constructor registers the access service
  • Method Details

    • getSecurityOfficerRequestHandler

      public SecurityOfficerRequestHandler getSecurityOfficerRequestHandler(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Retrieve the governance assets handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error
    • getGovernedAssetHandler

      public GovernedAssetHandler getGovernedAssetHandler(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Retrieve the governance assets handler for the access service
      Parameters:
      userId - calling user
      serverName - name of the server tied to the request
      serviceOperationName - name of the REST API call (typically the top-level methodName)
      Returns:
      handler for use by the requested instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - no available instance for the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user does not have access to the requested server
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the service name is not known - indicating a logic error