
Class RuleBuilder
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.auth.RuleBuilder
- All Implemented Interfaces:
IAuthRuleBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallow()Start a new rule to allow a given operationStart a new rule to allow a given operationallowAll()This rule allows any invocation to proceed.This rule allows any invocation to proceed.build()Build the rule listdeny()Start a new rule to deny a given operationStart a new rule to deny a given operationdenyAll()This rule allows any invocation to proceed.This rule allows any invocation to proceed.
-
Constructor Details
-
RuleBuilder
public RuleBuilder()
-
-
Method Details
-
allow
Description copied from interface:IAuthRuleBuilderStart a new rule to allow a given operation- Specified by:
allowin interfaceIAuthRuleBuilder
-
allow
Description copied from interface:IAuthRuleBuilderStart a new rule to allow a given operation- Specified by:
allowin interfaceIAuthRuleBuilder- Parameters:
theRuleName- 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.
-
allowAll
Description copied from interface:IAuthRuleBuilderThis rule allows any invocation to proceed. It is intended to be used at the end of a chain that containsIAuthRuleBuilder.deny()rules in order to specify a blacklist chain.This call completes the rule and adds the rule to the chain.
- Specified by:
allowAllin interfaceIAuthRuleBuilder
-
allowAll
Description copied from interface:IAuthRuleBuilderThis rule allows any invocation to proceed. It is intended to be used at the end of a chain that containsIAuthRuleBuilder.deny()rules in order to specify a blacklist chain.This call completes the rule and adds the rule to the chain.
- Specified by:
allowAllin interfaceIAuthRuleBuilder- Parameters:
theRuleName- 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.
-
build
Description copied from interface:IAuthRuleBuilderBuild the rule list- Specified by:
buildin interfaceIAuthRuleBuilder
-
deny
Description copied from interface:IAuthRuleBuilderStart a new rule to deny a given operation- Specified by:
denyin interfaceIAuthRuleBuilder
-
deny
Description copied from interface:IAuthRuleBuilderStart a new rule to deny a given operation- Specified by:
denyin interfaceIAuthRuleBuilder- Parameters:
theRuleName- 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.
-
denyAll
Description copied from interface:IAuthRuleBuilderThis rule allows any invocation to proceed. It is intended to be used at the end of a chain that containsIAuthRuleBuilder.allow()rules in order to specify a whitelist chain.This call completes the rule and adds the rule to the chain.
- Specified by:
denyAllin interfaceIAuthRuleBuilder
-
denyAll
Description copied from interface:IAuthRuleBuilderThis rule allows any invocation to proceed. It is intended to be used at the end of a chain that containsIAuthRuleBuilder.allow()rules in order to specify a whitelist chain.This call completes the rule and adds the rule to the chain.
- Specified by:
denyAllin interfaceIAuthRuleBuilder- Parameters:
theRuleName- 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.
-