Package javax.jcr.security
Interface NamedAccessControlPolicy
-
- All Superinterfaces:
AccessControlPolicy
- All Known Implementing Classes:
ReadPolicy
public interface NamedAccessControlPolicy extends AccessControlPolicy
AnNamedAccessControlPolicy
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
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.
-
-
-
Method Detail
-
getName
java.lang.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.
-
-