
Class FhirQueryRuleTester
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.auth.FhirQueryRuleTester
- All Implemented Interfaces:
IAuthRuleTester
Tester that a resource matches a provided query filter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.uhn.fhir.rest.server.interceptor.auth.IAuthRuleTester
IAuthRuleTester.RuleTestRequest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(IAuthRuleTester.RuleTestRequest theRuleTestRequest) User supplied logic called just before the parent rule renders a verdict on the operation or input resource.booleanmatchesOutput(IAuthRuleTester.RuleTestRequest theRuleTestRequest) User supplied logic called just before the parent rule renders a verdict on an output resource.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.fhir.rest.server.interceptor.auth.IAuthRuleTester
matches, matchesOutput
-
Constructor Details
-
FhirQueryRuleTester
-
-
Method Details
-
matches
Description copied from interface:IAuthRuleTesterUser supplied logic called just before the parent rule renders a verdict on the operation or input resource. Returning true will allow the verdict continue. Returning false will block the verdict and cause the rule to abstain (i.e. return null).THIS IS AN EXPERIMENTAL API! Feedback is welcome, and this API may change.
- Specified by:
matchesin interfaceIAuthRuleTester- Parameters:
theRuleTestRequest- The details of the operation or an INPUT resource to evaluate- Returns:
- true if the verdict should continue
-
matchesOutput
Description copied from interface:IAuthRuleTesterUser supplied logic called just before the parent rule renders a verdict on an output resource. Returning true will allow the verdict continue. Returning false will block the verdict and cause the rule to abstain (i.e. return null).THIS IS AN EXPERIMENTAL API! Feedback is welcome, and this API may change.
- Specified by:
matchesOutputin interfaceIAuthRuleTester- Parameters:
theRuleTestRequest- The details of the operation or an INPUT resource to evaluate- Returns:
- true if the verdict should continue
-
toString
-