public class AccessControlProviderImpl extends Object implements AccessControlProvider
Constructor and Description |
---|
AccessControlProviderImpl() |
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.
|
public void init(RepositoryConfig config) throws RepositoryException
init
in interface AccessControlProvider
RepositoryException
public Privilege privilegeFromName(SessionInfo sessionInfo, NamePathResolver resolver, String privilegeName) throws RepositoryException
AccessControlProvider
privilegeFromName
in interface AccessControlProvider
RepositoryException
AccessControlManager.privilegeFromName(String)
public Map<String,Privilege> getSupportedPrivileges(SessionInfo sessionInfo, NodeId nodeId, NamePathResolver npResolver) throws RepositoryException
AccessControlProvider
getSupportedPrivileges
in interface AccessControlProvider
nodeId
- The id of an existing node or null
to obtain privileges
that are supported for repository level access.RepositoryException
AccessControlManager.getSupportedPrivileges(String)
public Set<Privilege> getPrivileges(SessionInfo sessionInfo, NodeId id, NamePathResolver npResolver) throws RepositoryException
getPrivileges
in interface AccessControlProvider
RepositoryException
public AccessControlManager createAccessControlManager(SessionInfo sessionInfo, UpdatableItemStateManager itemStateManager, ItemManager itemManager, ItemDefinitionProvider definitionProvider, HierarchyManager hierarchyManager, NamePathResolver npResolver) throws RepositoryException
createAccessControlManager
in interface AccessControlProvider
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.