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