Class ActionAccessRestrictionAbstractBase

    • Constructor Detail

      • ActionAccessRestrictionAbstractBase

        public ActionAccessRestrictionAbstractBase()
    • Method Detail

      • setNodeService

        public void setNodeService​(NodeService nodeService)
      • setConfigProperties

        public void setConfigProperties​(Properties configProperties)
      • verifyAccessRestriction

        public void verifyAccessRestriction​(Action action)
        Base for verifying access restriction, manages common checks for exposing action in config or action being ran as a consequence of running a rule (safe)
        Specified by:
        verifyAccessRestriction in interface ActionAccessRestriction
        Parameters:
        action -
      • blockAccessRestriction

        protected boolean blockAccessRestriction​(Action action)
      • isActionExposed

        protected boolean isActionExposed​(Action action)
      • isActionCausedByRule

        protected boolean isActionCausedByRule​(Action action)
        Checks the hierarchy of primary parents of action node ref to look for Rule node ref Finding it means that the action was triggered by an existing rule, which are deemed secure as their validation happens at their setup.
        Parameters:
        action -
        Returns:
      • innerVerifyAccessRestriction

        protected abstract void innerVerifyAccessRestriction​(Action action)
        Restriction specific implementation of extensions
        Parameters:
        action -