public interface PolicyOwner
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(@Nullable java.lang.String absPath,
@NotNull AccessControlPolicy accessControlPolicy)
Determines if the implementing
AccessManager defines the specified
accessControlPolicy at the given absPath . |
boolean defines(@Nullable @Nullable java.lang.String absPath, @NotNull @NotNull 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 - 2023 Adobe. All Rights Reserved