| Package | Description |
|---|---|
| org.apache.jackrabbit.api.security.user |
Jackrabbit extensions for user management.
|
| 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(@NotNull String id,
@NotNull Class<T> authorizableClass)
Get the Authorizable of a specific type by its id.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable Authorizable |
UserManager.getAuthorizable(@NotNull Principal principal)
Get the Authorizable by its Principal.
|
@Nullable Authorizable |
UserManager.getAuthorizable(@NotNull String id)
Get the Authorizable by its id.
|
@Nullable Authorizable |
UserManager.getAuthorizableByPath(@NotNull String path)
In accordance to
getPath()
this method allows to retrieve an given authorizable by it's path. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Group.addMember(@NotNull Authorizable authorizable)
Add a member to this Group.
|
boolean |
Group.isDeclaredMember(@NotNull Authorizable authorizable)
Test whether an
Authorizable is a declared member of this group. |
boolean |
Group.isMember(@NotNull Authorizable authorizable) |
boolean |
Group.removeMember(@NotNull Authorizable authorizable)
Remove a member from this Group.
|
Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.