Interface OpenMetadataServerSecurity


  • public interface OpenMetadataServerSecurity
    OpenMetadataServerSecurity provides the root interface for a connector that validates access to Open Metadata services and instances for a specific user. There are other optional interfaces that define which actions should be validated. Connectors are installed into a specific OMAG Server Instance
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void validateUserAsServerAdmin​(java.lang.String userId)
      Check that the calling user is authorized to update the configuration for a server.
      void validateUserAsServerInvestigator​(java.lang.String userId)
      Check that the calling user is authorized to issue operator requests to the OMAG Server.
      void validateUserAsServerOperator​(java.lang.String userId)
      Check that the calling user is authorized to issue operator requests to the OMAG Server.
      void validateUserForServer​(java.lang.String userId)
      Check that the calling user is authorized to issue a (any) request to the OMAG Server.
    • Method Detail

      • validateUserForServer

        void validateUserForServer​(java.lang.String userId)
                            throws UserNotAuthorizedException
        Check that the calling user is authorized to issue a (any) request to the OMAG Server.
        Parameters:
        userId - calling user
        Throws:
        UserNotAuthorizedException - the user is not authorized to access this function
      • validateUserAsServerAdmin

        void validateUserAsServerAdmin​(java.lang.String userId)
                                throws UserNotAuthorizedException
        Check that the calling user is authorized to update the configuration for a server.
        Parameters:
        userId - calling user
        Throws:
        UserNotAuthorizedException - the user is not authorized to change configuration
      • validateUserAsServerOperator

        void validateUserAsServerOperator​(java.lang.String userId)
                                   throws UserNotAuthorizedException
        Check that the calling user is authorized to issue operator requests to the OMAG Server.
        Parameters:
        userId - calling user
        Throws:
        UserNotAuthorizedException - the user is not authorized to issue operator commands to this server
      • validateUserAsServerInvestigator

        void validateUserAsServerInvestigator​(java.lang.String userId)
                                       throws UserNotAuthorizedException
        Check that the calling user is authorized to issue operator requests to the OMAG Server.
        Parameters:
        userId - calling user
        Throws:
        UserNotAuthorizedException - the user is not authorized to issue diagnostic commands to this server