Interface IAuthRuleFinished
- All Known Subinterfaces:
IAuthRuleBuilderRuleBulkExportWithTarget
,IAuthRuleBuilderRuleConditionalClassifier
,IAuthRuleBuilderRuleOpClassifierFinished
,IAuthRuleBuilderRuleOpClassifierFinishedWithTenantId
public interface IAuthRuleFinished
-
Method Summary
Modifier and TypeMethodDescriptionandThen()
Start another rulebuild()
Build the rule listwithFilterTester
(String theQueryParameters) Narrow this rule to resources matching the given FHIR query.withTester
(IAuthRuleTester theTester) Add an additional tester that will be queried if all other conditions of this rule already match.
-
Method Details
-
andThen
Start another rule -
build
Build the rule list -
withTester
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.- Parameters:
theTester
- The tester to add, ornull
-
withFilterTester
Narrow this rule to resources matching the given FHIR query.- Parameters:
theQueryParameters
- a FHIR query parameter string. E.g. category=laboratoryinvalid input: '&date'=ge2021
-