Interface AccessControlConstants
-
- All Known Implementing Classes:
AbstractAccessControlManager
,AbstractRestrictionProvider
public interface AccessControlConstants
Constants for the default access control management implementation and and for built-in access control related node types.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Collection<java.lang.String>
AC_NODETYPE_NAMES
static java.util.Collection<java.lang.String>
ACE_PROPERTY_NAMES
static java.lang.String
MIX_REP_ACCESS_CONTROLLABLE
static java.lang.String
MIX_REP_REPO_ACCESS_CONTROLLABLE
static java.lang.String
NT_REP_ACE
static java.lang.String
NT_REP_ACL
static java.lang.String
NT_REP_DENY_ACE
static java.lang.String
NT_REP_GRANT_ACE
static java.lang.String
NT_REP_POLICY
static java.lang.String
NT_REP_RESTRICTIONS
static java.lang.String
PARAM_RESTRICTION_PROVIDER
static java.util.Collection<java.lang.String>
POLICY_NODE_NAMES
static java.lang.String
REP_CURRENT
Name of the optional multivalued access control restriction that limits access to a single level i.e.static java.lang.String
REP_GLOB
static java.lang.String
REP_ITEM_NAMES
Name of the optional multivalued access control restriction by item name.static java.lang.String
REP_NODE_PATH
static java.lang.String
REP_NT_NAMES
Name of the optional multivalued access control restriction by node type name.static java.lang.String
REP_POLICY
static java.lang.String
REP_PREFIXES
Name of the optional multivalued access control restriction which matches by name space prefix.static java.lang.String
REP_PRINCIPAL_NAME
static java.lang.String
REP_PRIVILEGES
static java.lang.String
REP_REPO_POLICY
static java.lang.String
REP_RESTRICTIONS
-
-
-
Field Detail
-
REP_POLICY
static final java.lang.String REP_POLICY
- See Also:
- Constant Field Values
-
REP_REPO_POLICY
static final java.lang.String REP_REPO_POLICY
- See Also:
- Constant Field Values
-
REP_PRIVILEGES
static final java.lang.String REP_PRIVILEGES
- See Also:
- Constant Field Values
-
REP_PRINCIPAL_NAME
static final java.lang.String REP_PRINCIPAL_NAME
- See Also:
- Constant Field Values
-
REP_GLOB
static final java.lang.String REP_GLOB
- See Also:
- Constant Field Values
-
REP_NODE_PATH
static final java.lang.String REP_NODE_PATH
- See Also:
- Constant Field Values
-
REP_NT_NAMES
static final java.lang.String REP_NT_NAMES
Name of the optional multivalued access control restriction by node type name. The corresponding restriction type isType.NAMES
.- Since:
- OAK 1.0
- See Also:
- Constant Field Values
-
REP_PREFIXES
static final java.lang.String REP_PREFIXES
Name of the optional multivalued access control restriction which matches by name space prefix. The corresponding restriction type isType.STRINGS
.- Since:
- OAK 1.0
- See Also:
- Constant Field Values
-
REP_ITEM_NAMES
static final java.lang.String REP_ITEM_NAMES
Name of the optional multivalued access control restriction by item name. The corresponding restriction type isType.NAMES
.- Since:
- OAK 1.3.8
- See Also:
- Constant Field Values
-
REP_CURRENT
static final java.lang.String REP_CURRENT
Name of the optional multivalued access control restriction that limits access to a single level i.e. the target node where the access control entry takes effect and optionally all or a subset of it's properties. An empty value array will make this restriction matching the target node only (i.e. equivalent to rep:glob=""). An array of property names will extend the effect of the restriction to properties of the target node that match the specified names. The
residual name '*'
will match the target node and all it's properties.The corresponding restriction type is
Type.STRINGS
Note: due to the support of
NodeTypeConstants.RESIDUAL_NAME
, which isn't a valid JCR name, this restriction is defined to be ofType.STRINGS
instead ofType.NAMES
. Like the rep:glob restriction it will therefore not work with expanded JCR names or with remapped namespace prefixes.Note: In case of permission evaluation for a path pointing to a non-existing JCR item (see e.g.
Example:Session.hasPermission(String, String)
) a best-effort attempt is made to determine if the path may point to a property, default being that the path points to a non-existing node.rep:current = [] => restriction applies to the target node only rep:current = [*] => restriction applies to the target node and all it's properties rep:current = [jcr:primaryType] => restriction applies to the target node and it's property jcr:primaryType rep:current = [a, b, prefix:c] => restriction applies to the target node and it's properties a, b and prefix:c
- Since:
- OAK 1.42.0
- See Also:
- Constant Field Values
-
REP_RESTRICTIONS
static final java.lang.String REP_RESTRICTIONS
- Since:
- OAK 1.0
- See Also:
- Constant Field Values
-
MIX_REP_ACCESS_CONTROLLABLE
static final java.lang.String MIX_REP_ACCESS_CONTROLLABLE
- See Also:
- Constant Field Values
-
MIX_REP_REPO_ACCESS_CONTROLLABLE
static final java.lang.String MIX_REP_REPO_ACCESS_CONTROLLABLE
- See Also:
- Constant Field Values
-
NT_REP_POLICY
static final java.lang.String NT_REP_POLICY
- See Also:
- Constant Field Values
-
NT_REP_ACL
static final java.lang.String NT_REP_ACL
- See Also:
- Constant Field Values
-
NT_REP_ACE
static final java.lang.String NT_REP_ACE
- See Also:
- Constant Field Values
-
NT_REP_GRANT_ACE
static final java.lang.String NT_REP_GRANT_ACE
- See Also:
- Constant Field Values
-
NT_REP_DENY_ACE
static final java.lang.String NT_REP_DENY_ACE
- See Also:
- Constant Field Values
-
NT_REP_RESTRICTIONS
static final java.lang.String NT_REP_RESTRICTIONS
- Since:
- OAK 1.0
- See Also:
- Constant Field Values
-
POLICY_NODE_NAMES
static final java.util.Collection<java.lang.String> POLICY_NODE_NAMES
-
ACE_PROPERTY_NAMES
static final java.util.Collection<java.lang.String> ACE_PROPERTY_NAMES
-
AC_NODETYPE_NAMES
static final java.util.Collection<java.lang.String> AC_NODETYPE_NAMES
-
PARAM_RESTRICTION_PROVIDER
static final java.lang.String PARAM_RESTRICTION_PROVIDER
- See Also:
- Constant Field Values
-
-