javax.jcr.security
Interface NamedAccessControlPolicy

All Superinterfaces:
AccessControlPolicy

public interface NamedAccessControlPolicy
extends AccessControlPolicy

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
 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.


Copyright © 2009 Day Software. All Rights Reserved.