public interface IAuthRuleFinished
| Modifier and Type | Method and Description |
|---|---|
IAuthRuleBuilder |
andThen()
Start another rule
|
List<IAuthRule> |
build()
Build the rule list
|
IAuthRuleFinished |
withTester(IAuthRuleTester theTester)
Add an additional tester that will be queried if all other conditions
of this rule already match.
|
IAuthRuleBuilder andThen()
IAuthRuleFinished withTester(IAuthRuleTester theTester)
return 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.Copyright © 2014–2019 University Health Network. All rights reserved.