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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(IAuthRuleTester.RuleTestRequest theRuleTestRequest) User supplied logic called just before the parent rule renders a verdict on the operation or input resource.boolean
matchesOutput
(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, wait
Methods inherited from interface ca.uhn.fhir.rest.server.interceptor.auth.IAuthRuleTester
matches, matchesOutput
-
Constructor Details
-
FhirQueryRuleTester
-
-
Method Details
-
matches
Description copied from interface:IAuthRuleTester
User 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:
matches
in 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:IAuthRuleTester
User 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:
matchesOutput
in interfaceIAuthRuleTester
- Parameters:
theRuleTestRequest
- The details of the operation or an INPUT resource to evaluate- Returns:
- true if the verdict should continue
-
toString
-