| Package | Description |
|---|---|
| com.redhat.lightblue.eval |
| Modifier and Type | Method and Description |
|---|---|
static FieldAccessRoleEvaluator.Operation |
FieldAccessRoleEvaluator.Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldAccessRoleEvaluator.Operation[] |
FieldAccessRoleEvaluator.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Projection |
FieldAccessRoleEvaluator.getExcludedFields(FieldAccessRoleEvaluator.Operation op)
Returns a projection that excludes the fields the caller does not have
access to based on the operation
|
Set<Path> |
FieldAccessRoleEvaluator.getInaccessibleFields(FieldAccessRoleEvaluator.Operation op)
Returns a set of fields that are inaccessible to the user for the given
operation
|
boolean |
FieldAccessRoleEvaluator.hasAccess(Path field,
FieldAccessRoleEvaluator.Operation op)
Returns whether the current caller has access to the given field based on
the operation
|
boolean |
FieldAccessRoleEvaluator.hasAccess(Set<Path> fields,
FieldAccessRoleEvaluator.Operation op)
Returns whether the current caller has access to all the given fields
based on the operation
|
Copyright © 2016. All rights reserved.