public class RuleBuilder extends Object implements IAuthRuleBuilder
| Constructor and Description |
|---|
RuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
IAuthRuleBuilderRule |
allow()
Start a new rule to allow a given operation
|
IAuthRuleBuilderRule |
allow(String theRuleName)
Start a new rule to allow a given operation
|
IAuthRuleBuilderRuleOpClassifierFinished |
allowAll()
This rule allows any invocation to proceed.
|
IAuthRuleBuilderRuleOpClassifierFinished |
allowAll(String theRuleName)
This rule allows any invocation to proceed.
|
List<IAuthRule> |
build()
Build the rule list
|
IAuthRuleBuilderRule |
deny()
Start a new rule to deny a given operation
|
IAuthRuleBuilderRule |
deny(String theRuleName)
Start a new rule to deny a given operation
|
IAuthRuleBuilderRuleOpClassifierFinished |
denyAll()
This rule allows any invocation to proceed.
|
IAuthRuleBuilderRuleOpClassifierFinished |
denyAll(String theRuleName)
This rule allows any invocation to proceed.
|
public RuleBuilder()
public IAuthRuleBuilderRule allow()
IAuthRuleBuilderallow in interface IAuthRuleBuilderpublic IAuthRuleBuilderRule allow(String theRuleName)
IAuthRuleBuilderallow in interface IAuthRuleBuildertheRuleName - The name of this rule. The rule name is used for logging and error messages,
and could be shown to the client, but has no semantic meaning within
HAPI FHIR.public IAuthRuleBuilderRuleOpClassifierFinished allowAll()
IAuthRuleBuilderIAuthRuleBuilder.deny() rules in
order to specify a blacklist chain.
This call completes the rule and adds the rule to the chain.
allowAll in interface IAuthRuleBuilderpublic IAuthRuleBuilderRuleOpClassifierFinished allowAll(String theRuleName)
IAuthRuleBuilderIAuthRuleBuilder.deny() rules in
order to specify a blacklist chain.
This call completes the rule and adds the rule to the chain.
allowAll in interface IAuthRuleBuildertheRuleName - The name of this rule. The rule name is used for logging and error messages,
and could be shown to the client, but has no semantic meaning within
HAPI FHIR.public List<IAuthRule> build()
IAuthRuleBuilderbuild in interface IAuthRuleBuilderpublic IAuthRuleBuilderRule deny()
IAuthRuleBuilderdeny in interface IAuthRuleBuilderpublic IAuthRuleBuilderRule deny(String theRuleName)
IAuthRuleBuilderdeny in interface IAuthRuleBuildertheRuleName - The name of this rule. The rule name is used for logging and error messages,
and could be shown to the client, but has no semantic meaning within
HAPI FHIR.public IAuthRuleBuilderRuleOpClassifierFinished denyAll()
IAuthRuleBuilderIAuthRuleBuilder.allow() rules in
order to specify a whitelist chain.
This call completes the rule and adds the rule to the chain.
denyAll in interface IAuthRuleBuilderpublic IAuthRuleBuilderRuleOpClassifierFinished denyAll(String theRuleName)
IAuthRuleBuilderIAuthRuleBuilder.allow() rules in
order to specify a whitelist chain.
This call completes the rule and adds the rule to the chain.
denyAll in interface IAuthRuleBuildertheRuleName - The name of this rule. The rule name is used for logging and error messages,
and could be shown to the client, but has no semantic meaning within
HAPI FHIR.Copyright © 2014–2017 University Health Network. All rights reserved.