public interface RestrictionDefinition
RestrictionDefinitioninterface provides methods for discovering the static definition of any additional policy-internal refinements of the access control definitions. These restrictions are intended to be used wherever effects are too fine-grained to be exposed through privilege discovery or define a different restriction mechanism. A common case may be to provide finer-grained access restrictions to individual properties or child nodes of the node to which the policy applies e.g. by means of naming patterns or node type restrictions. Its subclass
Restrictionadds methods that are relevant only when a given restriction is "live" after being created and applied to a given policy.
|Modifier and Type||Method and Description|
The internal oak name of this restriction definition.
The required type as defined by this definition.
Indicates if this restriction is mandatory.
@NotNull @NotNull String getName()
@NotNull @NotNull Type<?> getRequiredType()
trueif this restriction is mandatory;
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.