org.apache.jackrabbit.api.jsr283.security
Interface NamedAccessControlPolicy

All Superinterfaces:
AccessControlPolicy
All Known Implementing Classes:
NamedAccessControlPolicyImpl

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

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 © 2004-2009 The Apache Software Foundation. All Rights Reserved.