public interface PolicyOwner
javax.jcr.security.AccessControlManager
,
namely the interaction of multiple managers within a
single repository. It provides a single method #defines(String, javax.jcr.security.AccessControlPolicy)
that allows to determine the responsible manager upon
setPolicy
and
removePolicy
.Modifier and Type | Method and Description |
---|---|
boolean |
defines(java.lang.String absPath,
AccessControlPolicy accessControlPolicy)
Determines if the implementing
AccessManager defines the specified
accessControlPolicy at the given absPath . |
boolean defines(java.lang.String absPath, AccessControlPolicy accessControlPolicy)
AccessManager
defines the specified
accessControlPolicy
at the given absPath
. If this method
returns true
it is expected that the given policy is valid to be
set
or removed
with the manager.absPath
- An absolute path.accessControlPolicy
- The access control policy to be tested.true
If the AccessControlManager
implementing this
interface can handle the specified accessControlPolicy
at the given path
."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"