Uses of Interface
org.apache.jackrabbit.api.security.user.Authorizable
-
Packages that use Authorizable Package Description org.apache.jackrabbit.api.security.user Jackrabbit extensions for user management.org.apache.jackrabbit.oak.jcr.delegate This package contains the delegates for the various JCR API entities.org.apache.jackrabbit.oak.security.user org.apache.jackrabbit.oak.security.user.autosave org.apache.jackrabbit.oak.security.user.query org.apache.jackrabbit.oak.spi.security.authentication.external.basic org.apache.jackrabbit.oak.spi.security.authentication.external.impl org.apache.jackrabbit.oak.spi.security.user org.apache.jackrabbit.oak.spi.security.user.action org.apache.jackrabbit.oak.spi.security.user.util -
-
Uses of Authorizable in org.apache.jackrabbit.api.security.user
Subinterfaces of Authorizable in org.apache.jackrabbit.api.security.user Modifier and Type Interface Description interface
Group
A Group is a collection ofAuthorizable
s.interface
User
User is a specialAuthorizable
that can be authenticated and impersonated.Methods in org.apache.jackrabbit.api.security.user with type parameters of type Authorizable Modifier and Type Method Description <T extends Authorizable>
TUserManager. getAuthorizable(@NotNull String id, @NotNull Class<T> authorizableClass)
Get the Authorizable of a specific type by its id.Methods in org.apache.jackrabbit.api.security.user that return Authorizable Modifier and Type Method Description @Nullable Authorizable
UserManager. getAuthorizable(@NotNull String id)
Get the Authorizable by its id.@Nullable Authorizable
UserManager. getAuthorizable(@NotNull Principal principal)
Get the Authorizable by its Principal.@Nullable Authorizable
UserManager. getAuthorizableByPath(@NotNull String path)
In accordance togetPath()
this method allows to retrieve an given authorizable by it's path.Methods in org.apache.jackrabbit.api.security.user that return types with arguments of type Authorizable Modifier and Type Method Description @NotNull Iterator<Authorizable>
UserManager. findAuthorizables(@NotNull String relPath, @Nullable String value)
Returns allAuthorizable
s that have aproperty
with the given relative path (or name) that matches the specified value.@NotNull Iterator<Authorizable>
UserManager. findAuthorizables(@NotNull String relPath, @Nullable String value, int searchType)
Returns allAuthorizable
s that have aproperty
with the given relative path (or name) that matches the specified value.@NotNull Iterator<Authorizable>
UserManager. findAuthorizables(@NotNull Query query)
ReturnAuthorizable
s that match a specificQuery
.@NotNull Iterator<Authorizable>
Group. getDeclaredMembers()
@NotNull Iterator<Authorizable>
Group. getMembers()
Methods in org.apache.jackrabbit.api.security.user with parameters of type Authorizable Modifier and Type Method Description boolean
Group. addMember(@NotNull Authorizable authorizable)
Add a member to this Group.boolean
Group. isDeclaredMember(@NotNull Authorizable authorizable)
Test whether anAuthorizable
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.Method parameters in org.apache.jackrabbit.api.security.user with type arguments of type Authorizable Modifier and Type Method Description void
QueryBuilder. setSelector(@NotNull Class<? extends Authorizable> selector)
Set the selector for the query. -
Uses of Authorizable in org.apache.jackrabbit.oak.jcr.delegate
Methods in org.apache.jackrabbit.oak.jcr.delegate with type parameters of type Authorizable Modifier and Type Method Description <T extends Authorizable>
TUserManagerDelegator. getAuthorizable(@NotNull String id, @NotNull Class<T> authorizableClass)
Methods in org.apache.jackrabbit.oak.jcr.delegate that return Authorizable Modifier and Type Method Description @Nullable Authorizable
UserManagerDelegator. getAuthorizable(@NotNull String id)
@Nullable Authorizable
UserManagerDelegator. getAuthorizable(@NotNull Principal principal)
@Nullable Authorizable
UserManagerDelegator. getAuthorizableByPath(@NotNull String path)
Methods in org.apache.jackrabbit.oak.jcr.delegate that return types with arguments of type Authorizable Modifier and Type Method Description @NotNull Iterator<Authorizable>
UserManagerDelegator. findAuthorizables(@NotNull String relPath, @Nullable String value)
@NotNull Iterator<Authorizable>
UserManagerDelegator. findAuthorizables(@NotNull String relPath, @Nullable String value, int searchType)
@NotNull Iterator<Authorizable>
UserManagerDelegator. findAuthorizables(@NotNull Query query)
-
Uses of Authorizable in org.apache.jackrabbit.oak.security.user
Methods in org.apache.jackrabbit.oak.security.user with type parameters of type Authorizable Modifier and Type Method Description <T extends Authorizable>
TUserManagerImpl. getAuthorizable(@NotNull String id, @NotNull Class<T> authorizableClass)
Methods in org.apache.jackrabbit.oak.security.user that return Authorizable Modifier and Type Method Description @Nullable Authorizable
UserManagerImpl. getAuthorizable(@NotNull String id)
@Nullable Authorizable
UserManagerImpl. getAuthorizable(@NotNull Principal principal)
@Nullable Authorizable
UserManagerImpl. getAuthorizable(@Nullable Tree tree)
@Nullable Authorizable
UserManagerImpl. getAuthorizableByPath(@NotNull String path)
Methods in org.apache.jackrabbit.oak.security.user that return types with arguments of type Authorizable Modifier and Type Method Description @NotNull Iterator<Authorizable>
UserManagerImpl. findAuthorizables(@NotNull String relPath, @Nullable String value)
@NotNull Iterator<Authorizable>
UserManagerImpl. findAuthorizables(@NotNull String relPath, @Nullable String value, int searchType)
@NotNull Iterator<Authorizable>
UserManagerImpl. findAuthorizables(@NotNull Query query)
Methods in org.apache.jackrabbit.oak.security.user with parameters of type Authorizable Modifier and Type Method Description boolean
DeclaredMembershipPredicate. test(@Nullable Authorizable authorizable)
-
Uses of Authorizable in org.apache.jackrabbit.oak.security.user.autosave
Methods in org.apache.jackrabbit.oak.security.user.autosave with type parameters of type Authorizable Modifier and Type Method Description <T extends Authorizable>
TAutoSaveEnabledManager. getAuthorizable(@NotNull String id, @NotNull Class<T> authorizableClass)
Methods in org.apache.jackrabbit.oak.security.user.autosave that return Authorizable Modifier and Type Method Description @Nullable Authorizable
AutoSaveEnabledManager. getAuthorizable(@NotNull String id)
@Nullable Authorizable
AutoSaveEnabledManager. getAuthorizable(@NotNull Principal principal)
@Nullable Authorizable
AutoSaveEnabledManager. getAuthorizableByPath(@NotNull String path)
Methods in org.apache.jackrabbit.oak.security.user.autosave that return types with arguments of type Authorizable Modifier and Type Method Description @NotNull Iterator<Authorizable>
AutoSaveEnabledManager. findAuthorizables(@NotNull String relPath, @Nullable String value)
@NotNull Iterator<Authorizable>
AutoSaveEnabledManager. findAuthorizables(@NotNull String relPath, @Nullable String value, int searchType)
@NotNull Iterator<Authorizable>
AutoSaveEnabledManager. findAuthorizables(@NotNull Query query)
-
Uses of Authorizable in org.apache.jackrabbit.oak.security.user.query
Methods in org.apache.jackrabbit.oak.security.user.query that return types with arguments of type Authorizable Modifier and Type Method Description @NotNull Iterator<Authorizable>
UserQueryManager. findAuthorizables(@NotNull String relPath, @Nullable String value, @NotNull AuthorizableType authorizableType)
Find the authorizables matching the following search parameters within the sub-tree defined by an authorizable tree:@NotNull Iterator<Authorizable>
UserQueryManager. findAuthorizables(@NotNull String relPath, @Nullable String value, @NotNull AuthorizableType authorizableType, boolean exact)
Find the authorizables matching the following search parameters within the sub-tree defined by an authorizable tree:@NotNull Iterator<Authorizable>
UserQueryManager. findAuthorizables(@NotNull Query query)
Find the authorizables matching the specified userQuery
.Methods in org.apache.jackrabbit.oak.security.user.query with parameters of type Authorizable Modifier and Type Method Description static @Nullable String
QueryUtil. getID(@Nullable Authorizable authorizable)
-
Uses of Authorizable in org.apache.jackrabbit.oak.spi.security.authentication.external.basic
Methods in org.apache.jackrabbit.oak.spi.security.authentication.external.basic with type parameters of type Authorizable Modifier and Type Method Description protected <T extends Authorizable>
TDefaultSyncContext. getAuthorizable(@NotNull ExternalIdentity external, @NotNull Class<T> type)
Retrieves the repository authorizable that corresponds to the given external identityMethods in org.apache.jackrabbit.oak.spi.security.authentication.external.basic that return types with arguments of type Authorizable Modifier and Type Method Description Iterator<Authorizable>
AutoMembershipConfig. getAutoMembers(@NotNull UserManager userManager, @NotNull Group group)
Best-effort attempt to retrieve all automatically defined members of the givenGroup
.Methods in org.apache.jackrabbit.oak.spi.security.authentication.external.basic with parameters of type Authorizable Modifier and Type Method Description protected void
DefaultSyncContext. applyMembership(@NotNull Authorizable member, @NotNull Set<String> groups)
Ensures that the given authorizable is member of the specific groups.static @Nullable DefaultSyncedIdentity
DefaultSyncContext. createSyncedIdentity(@Nullable Authorizable auth)
Creates a synced identity from the given authorizable.@NotNull Set<String>
AutoMembershipConfig. getAutoMembership(@NotNull Authorizable authorizable)
Returns the group ids which the given synchronized external user/group should automatically be added as member.@NotNull Set<String>
DefaultSyncConfig.Authorizable. getAutoMembership(Authorizable authorizable)
Defines the set of group ids a synchronized external user/group is automatically member of.static @Nullable ExternalIdentityRef
DefaultSyncContext. getIdentityRef(@Nullable Authorizable auth)
Retrieves the external identity ref from the authorizableprotected boolean
DefaultSyncContext. isExpired(@NotNull Authorizable auth, long expirationTime, @NotNull String type)
Checks if the given authorizable needs syncing based on theDefaultSyncContext.REP_LAST_SYNCED
property.protected boolean
DefaultSyncContext. isSameIDP(@Nullable Authorizable auth)
Checks if the given authorizable was synced from the same IDP by comparing the IDP name of the "rep:externalId" property.protected void
DefaultSyncContext. syncMembership(@NotNull ExternalIdentity external, @NotNull Authorizable auth, long depth)
Recursively sync the memberships of an authorizable up-to the specified depth.protected void
DefaultSyncContext. syncProperties(@NotNull ExternalIdentity ext, @NotNull Authorizable auth, @NotNull Map<String,String> mapping)
Syncs the properties specified in themapping
from the external identity to the given authorizable.protected void
DefaultSyncContext. warnForeignExisting(@NotNull Authorizable existing, boolean expectGroup)
-
Uses of Authorizable in org.apache.jackrabbit.oak.spi.security.authentication.external.impl
Methods in org.apache.jackrabbit.oak.spi.security.authentication.external.impl with parameters of type Authorizable Modifier and Type Method Description protected void
DynamicSyncContext. applyMembership(@NotNull Authorizable member, @NotNull Set<String> groups)
boolean
DynamicSyncContext. convertToDynamicMembership(@NotNull Authorizable authorizable)
protected void
DynamicSyncContext. syncMembership(@NotNull ExternalIdentity external, @NotNull Authorizable auth, long depth)
-
Uses of Authorizable in org.apache.jackrabbit.oak.spi.security.user
Methods in org.apache.jackrabbit.oak.spi.security.user that return types with arguments of type Authorizable Modifier and Type Method Description Class<? extends Authorizable>
AuthorizableType. getAuthorizableClass()
@NotNull Iterator<Authorizable>
DynamicMembershipProvider. getMembers(@NotNull Group group, boolean includeInherited)
Returns the dynamic members for the given group.Methods in org.apache.jackrabbit.oak.spi.security.user with parameters of type Authorizable Modifier and Type Method Description @NotNull Iterator<Group>
DynamicMembershipProvider. getMembership(@NotNull Authorizable authorizable, boolean includeInherited)
Returns an iterator over all groups the givenauthorizable
is a dynamic member of.boolean
DynamicMembershipProvider. isMember(@NotNull Group group, @NotNull Authorizable authorizable, boolean includeInherited)
Returnstrue
if the givenauthorizable
is a dynamic member of the given target group.boolean
AuthorizableType. isType(Authorizable authorizable)
-
Uses of Authorizable in org.apache.jackrabbit.oak.spi.security.user.action
Methods in org.apache.jackrabbit.oak.spi.security.user.action with parameters of type Authorizable Modifier and Type Method Description void
AbstractGroupAction. onMemberAdded(@NotNull Group group, @NotNull Authorizable member, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
GroupAction. onMemberAdded(@NotNull Group group, @NotNull Authorizable member, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
A specificAuthorizable
was added as a member of theGroup
.void
AbstractGroupAction. onMemberRemoved(@NotNull Group group, @NotNull Authorizable member, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
GroupAction. onMemberRemoved(@NotNull Group group, @NotNull Authorizable member, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
A specificAuthorizable
was removed from theGroup
.void
AbstractAuthorizableAction. onRemove(@NotNull Authorizable authorizable, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
AuthorizableAction. onRemove(@NotNull Authorizable authorizable, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific behavior associated with the removal of an authorizable.void
ClearMembershipAction. onRemove(@NotNull Authorizable authorizable, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
-
Uses of Authorizable in org.apache.jackrabbit.oak.spi.security.user.util
Methods in org.apache.jackrabbit.oak.spi.security.user.util with type parameters of type Authorizable Modifier and Type Method Description static <T extends Authorizable>
TUserUtil. castAuthorizable(@Nullable Authorizable authorizable, Class<T> authorizableClass)
Methods in org.apache.jackrabbit.oak.spi.security.user.util with parameters of type Authorizable Modifier and Type Method Description static <T extends Authorizable>
TUserUtil. castAuthorizable(@Nullable Authorizable authorizable, Class<T> authorizableClass)
-