Package javax.jcr.security
Interface NamedAccessControlPolicy
- All Superinterfaces:
AccessControlPolicy
- All Known Implementing Classes:
ReadPolicy
An
NamedAccessControlPolicy is an opaque access control policy
that is described by a JCR name and optionally a description.
NamedAccessControlPolicy are immutable and can therefore be
directly applied to a node without additional configuration step.- Since:
- JCR 2.0
-
Method Summary
-
Method Details
-
getName
Returns the name of the access control policy, which is JCR name and should be unique among the choices applicable to any particular node.- Returns:
- the name of the access control policy. A JCR name.
- Throws:
RepositoryException- if an error occurs.
-