public interface IAuthRule
| Modifier and Type | Method and Description |
|---|---|
AuthorizationInterceptor.Verdict |
applyRule(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theInputResource,
org.hl7.fhir.instance.model.api.IIdType theInputResourceId,
org.hl7.fhir.instance.model.api.IBaseResource theOutputResource,
IRuleApplier theRuleApplier,
Set<AuthorizationFlagsEnum> theFlags)
Applies the rule and returns a policy decision, or
null if the rule does not apply |
String |
getName()
Returns a name for this rule, to be used in logs and error messages
|
AuthorizationInterceptor.Verdict applyRule(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theInputResource, org.hl7.fhir.instance.model.api.IIdType theInputResourceId, org.hl7.fhir.instance.model.api.IBaseResource theOutputResource, IRuleApplier theRuleApplier, Set<AuthorizationFlagsEnum> theFlags)
null if the rule does not applytheOperation - The operation typetheRequestDetails - The requesttheInputResource - The resource being input by the client, or nulltheInputResourceId - TODOtheOutputResource - The resource being returned by the server, or nulltheRuleApplier - The rule applying module (this can be used by rules to apply the rule set to
nested objects in the request, such as nested requests in a transaction)theFlags - null if the rule does not applyCopyright © 2014–2019 University Health Network. All rights reserved.