public interface AccessControlProvider
Modifier and Type | Method and Description |
---|---|
AccessControlManager |
createAccessControlManager(SessionInfo sessionInfo,
UpdatableItemStateManager itemStateManager,
ItemManager itemManager,
ItemDefinitionProvider definitionProvider,
HierarchyManager hierarchyManager,
NamePathResolver npResolver) |
Set<Privilege> |
getPrivileges(SessionInfo sessionInfo,
NodeId id,
NamePathResolver npResolver) |
Map<String,Privilege> |
getSupportedPrivileges(SessionInfo sessionInfo,
NodeId nodeId,
NamePathResolver npResolver)
Obtain the privileges supported at the specified path.
|
void |
init(RepositoryConfig config) |
Privilege |
privilegeFromName(SessionInfo sessionInfo,
NamePathResolver resolver,
String privilegeName)
The privileges corresponding to the specified name.
|
void init(RepositoryConfig config) throws RepositoryException
RepositoryException
Privilege privilegeFromName(SessionInfo sessionInfo, NamePathResolver resolver, String privilegeName) throws RepositoryException
sessionInfo
- resolver
- RepositoryException
AccessControlManager.privilegeFromName(String)
Map<String,Privilege> getSupportedPrivileges(SessionInfo sessionInfo, NodeId nodeId, NamePathResolver npResolver) throws RepositoryException
sessionInfo
- nodeId
- The id of an existing node or null
to obtain privileges
that are supported for repository level access.npResolver
- RepositoryException
AccessControlManager.getSupportedPrivileges(String)
Set<Privilege> getPrivileges(SessionInfo sessionInfo, NodeId id, NamePathResolver npResolver) throws RepositoryException
RepositoryException
AccessControlManager createAccessControlManager(SessionInfo sessionInfo, UpdatableItemStateManager itemStateManager, ItemManager itemManager, ItemDefinitionProvider definitionProvider, HierarchyManager hierarchyManager, NamePathResolver npResolver) throws RepositoryException
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.