Interface IAuthRuleFinished

    • Method Detail

      • withTester

        IAuthRuleFinished withTester​(@Nullable
                                     IAuthRuleTester theTester)
        Add an additional tester that will be queried if all other conditions of this rule already match. For example, given the following rule
         return new RuleBuilder()
           .allow("Rule 1").operation().named("everything").onInstancesOfType(Patient.class).withTester(myTester)
        ..the tester will be invoked on any $everything operations on Patient resources as a final check as to whether the rule applies or not. In this example, the tester is not invoked for other operations.
        theTester - The tester to add, or null