public interface IAuthRule
| Modifier and Type | Method and Description |
|---|---|
AuthorizationInterceptor.Verdict |
applyRule(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource,
IRuleApplier theRuleApplier)
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(RestOperationTypeEnum theOperation, RequestDetails theRequestDetails, IBaseResource theInputResource, IIdType theInputResourceId, IBaseResource theOutputResource, IRuleApplier theRuleApplier)
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)null if the rule does not applyCopyright © 2014–2017 University Health Network. All rights reserved.