Class AbstractCockpitPluginResource

    • Constructor Detail

      • AbstractCockpitPluginResource

        public AbstractCockpitPluginResource​(String engineName)
    • Method Detail

      • getCommandExecutor

        protected CommandExecutor getCommandExecutor()
        Return a CommandExecutor for the current engine to execute plugin commands.
        Returns:
      • getQueryService

        protected QueryService getQueryService()
        Return a QueryService for the current engine to execute queries against the engine datbase.
        Returns:
      • isAuthorizationEnabled

        protected boolean isAuthorizationEnabled()
        Return true if authorization is enabled.
      • isTenantCheckEnabled

        protected boolean isTenantCheckEnabled()
        Return true if tenant check is enabled.
      • getCurrentAuthentication

        protected Authentication getCurrentAuthentication()
        Return the current authentication.
      • configureAuthorizationCheck

        protected void configureAuthorizationCheck​(QueryParameters query)
        Configure the authorization check for the given QueryParameters.
      • isPermissionDisabled

        protected boolean isPermissionDisabled​(Permission permission)