public class RuleImplConditional extends Object implements IAuthRule
| Constructor and Description |
|---|
RuleImplConditional(String theRuleName) |
| 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
|
public RuleImplConditional(String theRuleName)
public AuthorizationInterceptor.Verdict applyRule(RestOperationTypeEnum theOperation, RequestDetails theRequestDetails, IBaseResource theInputResource, IIdType theInputResourceId, IBaseResource theOutputResource, IRuleApplier theRuleApplier)
IAuthRulenull if the rule does not applyapplyRule in interface IAuthRuletheOperation - 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.