public enum AuthorizationFlagsEnum extends Enum<AuthorizationFlagsEnum>
| Enum Constant and Description |
|---|
ALLOW_PATCH_REQUEST_UNCHALLENGED |
NO_NOT_PROACTIVELY_BLOCK_COMPARTMENT_READ_ACCESS
If this flag is set, attempts to perform read operations
(read/search/history) will be matched by the interceptor before
the method handler is called.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationFlagsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationFlagsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationFlagsEnum NO_NOT_PROACTIVELY_BLOCK_COMPARTMENT_READ_ACCESS
For example, suppose a rule set is in place that only allows read
access to compartment Patient/123. With this flag set,
any attempts
to perform a FHIR read/search/history operation will be permitted
to proceed to the method handler, and responses will be blocked
by the AuthorizationInterceptor if the response contains a resource
that is not in the given compartment.
Setting this flag is less secure, since the interceptor can potentially leak information about the existence of data, but it is useful in some scenarios.
public static final AuthorizationFlagsEnum ALLOW_PATCH_REQUEST_UNCHALLENGED
public static AuthorizationFlagsEnum[] values()
for (AuthorizationFlagsEnum c : AuthorizationFlagsEnum.values()) System.out.println(c);
public static AuthorizationFlagsEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2019 University Health Network. All rights reserved.