Package javax.jcr.security
Interface NamedAccessControlPolicy
-
- All Superinterfaces:
AccessControlPolicy
public interface NamedAccessControlPolicy extends AccessControlPolicy
AnNamedAccessControlPolicyis an opaque access control policy that is described by a JCR name and optionally a description.NamedAccessControlPolicyare immutable and can therefore be directly applied to a node without additional configuration step.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns the name of the access control policy, which is JCR name and should be unique among the choices applicable to any particular node.
-
-
-
Method Detail
-
getName
String getName() throws RepositoryException
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.
-
-