| Package | Description |
|---|---|
| org.apache.jackrabbit.api |
Jackrabbit extensions for JCR core interfaces
|
| org.apache.jackrabbit.commons.jackrabbit.user | |
| org.apache.jackrabbit.core |
Contains the core classes that provide the implementation of the JCR API.
|
| org.apache.jackrabbit.core.config |
Jackrabbit configuration handling.
|
| org.apache.jackrabbit.core.security | |
| org.apache.jackrabbit.core.security.simple | |
| org.apache.jackrabbit.core.security.user |
| Modifier and Type | Method and Description |
|---|---|
UserManager |
JackrabbitSession.getUserManager()
Returns the
UserManager for the current Session. |
| Constructor and Description |
|---|
AuthorizableQueryManager(UserManager userManager,
ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected UserManager |
UserPerWorkspaceSecurityManager.getSystemUserManager(String workspaceName) |
protected UserManager |
DefaultSecurityManager.getSystemUserManager(String workspaceName) |
UserManager |
SessionImpl.getUserManager() |
UserManager |
UserPerWorkspaceSecurityManager.getUserManager(Session session)
As this implementation expects that users information in present in
every workspace, the UserManager is always created with the given
session.
|
UserManager |
DefaultSecurityManager.getUserManager(Session session) |
| Modifier and Type | Method and Description |
|---|---|
UserManager |
UserManagerConfig.getUserManager(Class<? extends UserManager> assignableFrom,
Class<?>[] parameterTypes,
Object... initArgs)
Build a new
UserManager instance based on this configuration. |
| Modifier and Type | Method and Description |
|---|---|
UserManager |
UserManagerConfig.getUserManager(Class<? extends UserManager> assignableFrom,
Class<?>[] parameterTypes,
Object... initArgs)
Build a new
UserManager instance based on this configuration. |
| Modifier and Type | Method and Description |
|---|---|
UserManager |
JackrabbitSecurityManager.getUserManager(Session session)
Returns the user manager for the specified
session. |
| Modifier and Type | Method and Description |
|---|---|
UserManager |
SimpleSecurityManager.getUserManager(Session session) |
| Modifier and Type | Class and Description |
|---|---|
class |
UserManagerImpl
Default implementation of the
UserManager interface with the
following characteristics:
Users and Groups are stored in the repository as JCR nodes.
Users are created below UserConstants.USERS_PATH,Groups are created below UserConstants.GROUPS_PATH (unless otherwise configured).
The Id of an authorizable is stored in the jcr:uuid property (md5 hash).
In order to structure the users and groups tree and avoid creating a flat
hierarchy, additional hierarchy nodes of type "rep:AuthorizableFolder" are
introduced using
the specified intermediate path passed to the create methods
or some built-in logic if the intermediate path is missing.
The built-in logic applies the following rules:
The names of the hierarchy folders is determined from ID of the
authorizable to be created, consisting of the leading N chars where N is
the relative depth starting from the node at UserManagerImpl.getUsersPath()
or UserManagerImpl.getGroupsPath().
By default 2 levels (depth == 2) are created.
Parent nodes are expected to consist of folder structure only.
If the ID contains invalid JCR chars that would prevent the creation of
a Node with that name, the names of authorizable node and the intermediate
hierarchy nodes are escaped.
Examples:
Creating an non-existing user with ID 'aSmith' without specifying an
intermediate path would result in the following structure: |
class |
UserPerWorkspaceUserManager
Derived UserManager implementation that allows to switch between autosaving
and transient change mode.
|
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.