Interface IAuthRuleFinished
-
- All Known Subinterfaces:
IAuthRuleBuilderRuleConditionalClassifier,IAuthRuleBuilderRuleOpClassifierFinished,IAuthRuleBuilderRuleOpClassifierFinishedWithTenantId
public interface IAuthRuleFinished
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAuthRuleBuilderandThen()Start another ruleList<IAuthRule>build()Build the rule listIAuthRuleFinishedwithTester(IAuthRuleTester theTester)Add an additional tester that will be queried if all other conditions of this rule already match.
-
-
-
Method Detail
-
andThen
IAuthRuleBuilder andThen()
Start another rule
-
withTester
IAuthRuleFinished withTester(IAuthRuleTester theTester)
Add an additional tester that will be queried if all other conditions of this rule already match. For example, given the following rulereturn new RuleBuilder() .allow("Rule 1").operation().named("everything").onInstancesOfType(Patient.class).withTester(myTester) .build();..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.
-
-