| Package | Description |
|---|---|
| org.apache.jackrabbit.api.security.user |
Jackrabbit extensions for user management.
|
| org.apache.jackrabbit.commons.jackrabbit.user | |
| org.apache.jackrabbit.core.security.user | |
| org.apache.jackrabbit.core.security.user.action |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Group
A Group is a collection of
Authorizables. |
interface |
User
User is a special
Authorizable that can be authenticated and
impersonated. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Authorizable> |
UserManager.getAuthorizable(String id,
Class<T> authorizableClass)
Get the Authorizable of a specific type by its id.
|
| Modifier and Type | Method and Description |
|---|---|
Authorizable |
UserManager.getAuthorizable(Principal principal)
Get the Authorizable by its Principal.
|
Authorizable |
UserManager.getAuthorizable(String id)
Get the Authorizable by its id.
|
Authorizable |
UserManager.getAuthorizableByPath(String path)
In accordance to
getPath()
this method allows to retrieve an given authorizable by it's path. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Authorizable> |
UserManager.findAuthorizables(Query query)
Return
Authorizables that match a specific Query. |
Iterator<Authorizable> |
UserManager.findAuthorizables(String relPath,
String value)
Returns all
Authorizables that have a
property with the given relative
path (or name) that matches the specified value. |
Iterator<Authorizable> |
UserManager.findAuthorizables(String relPath,
String value,
int searchType)
Returns all
Authorizables that have a
property with the given relative
path (or name) that matches the specified value. |
Iterator<Authorizable> |
Group.getDeclaredMembers() |
Iterator<Authorizable> |
Group.getMembers() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Group.addMember(Authorizable authorizable)
Add a member to this Group.
|
boolean |
Group.isDeclaredMember(Authorizable authorizable)
Test whether an
Authorizable is a declared member of this group. |
boolean |
Group.isMember(Authorizable authorizable) |
boolean |
Group.removeMember(Authorizable authorizable)
Remove a member from this Group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueryBuilder.setSelector(Class<? extends Authorizable> selector)
Set the selector for the query.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Authorizable> |
AuthorizableQueryManager.execute(String query) |
| Modifier and Type | Class and Description |
|---|---|
class |
UserImpl
UserImpl
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Authorizable> |
UserManagerImpl.getAuthorizable(String id,
Class<T> authorizableClass) |
| Modifier and Type | Method and Description |
|---|---|
Authorizable |
UserManagerImpl.getAuthorizable(Principal principal) |
Authorizable |
UserManagerImpl.getAuthorizable(String id) |
Authorizable |
UserManagerImpl.getAuthorizableByPath(String path)
Always throws
UnsupportedRepositoryOperationException since
this implementation of the user management API does not allow to retrieve
the path of an authorizable. |
Authorizable |
UserPerWorkspaceUserManager.getAuthorizableByPath(String path) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Authorizable> |
XPathQueryEvaluator.eval() |
Iterator<Authorizable> |
UserManagerImpl.findAuthorizables(Query query) |
Iterator<Authorizable> |
UserManagerImpl.findAuthorizables(String relPath,
String value) |
Iterator<Authorizable> |
UserManagerImpl.findAuthorizables(String relPath,
String value,
int searchType) |
| Modifier and Type | Method and Description |
|---|---|
void |
XPathQueryBuilder.setSelector(Class<? extends Authorizable> selector) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractAuthorizableAction.onRemove(Authorizable authorizable,
Session session)
Doesn't perform any action.
|
void |
AuthorizableAction.onRemove(Authorizable authorizable,
Session session)
Allows to add application specific behavior associated with the removal
of an authorizable.
|
void |
ClearMembershipAction.onRemove(Authorizable authorizable,
Session session) |
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.