Interface BatchSecurityHelper


  • public interface BatchSecurityHelper
    Implemented by the host environment to allow the 'jbatch' implementation to get the "current" tag (here a generalized term for something like the current "application), and whether the tag is "admin"-authorized or not.
    Author:
    skurz
    • Method Detail

      • getCurrentTag

        String getCurrentTag()
        Returns:
        The current "tag" (or "app name", generically speaking).
      • isAdmin

        boolean isAdmin​(String tag)
        Parameters:
        tag - A "tag" (or "app name", generically speaking).
        Returns:
        true if the "tag" is associated with an app recognized as authorized for administrator-level read permissions.