Uses of Interface
org.apache.jackrabbit.oak.api.Root
-
-
Uses of Root in org.apache.jackrabbit.oak
Methods in org.apache.jackrabbit.oak that return Root Modifier and Type Method Description Root
Oak. createRoot()
Creates a content repository with the given configuration and returns aRoot
instance after logging in to the default workspace with no credentials. -
Uses of Root in org.apache.jackrabbit.oak.api
Methods in org.apache.jackrabbit.oak.api that return Root Modifier and Type Method Description @NotNull Root
ContentSession. getLatestRoot()
The current head root as seen by this content session. -
Uses of Root in org.apache.jackrabbit.oak.core
Classes in org.apache.jackrabbit.oak.core that implement Root Modifier and Type Class Description class
ImmutableRoot
Simple implementation of the Root interface that only supports simple read operations based on theNodeState
(orImmutableTree
) passed to the constructor.class
SystemRoot
Internal extension of theMutableRoot
to be used when an usage of the system internal subject is needed.Methods in org.apache.jackrabbit.oak.core with parameters of type Root Modifier and Type Method Description static ImmutableRoot
ImmutableRoot. getInstance(@NotNull Root root)
Constructors in org.apache.jackrabbit.oak.core with parameters of type Root Constructor Description ImmutableRoot(@NotNull Root root)
-
Uses of Root in org.apache.jackrabbit.oak.exercise.security.authorization.models.predefined
Methods in org.apache.jackrabbit.oak.exercise.security.authorization.models.predefined with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
PredefinedAuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
PredefinedAuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.exercise.security.authorization.models.readonly
Methods in org.apache.jackrabbit.oak.exercise.security.authorization.models.readonly with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
ReadOnlyAuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
ReadOnlyAuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.exercise.security.authorization.models.simplifiedroles
Methods in org.apache.jackrabbit.oak.exercise.security.authorization.models.simplifiedroles with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
ThreeRolesAuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
ThreeRolesAuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.exercise.security.principal
Methods in org.apache.jackrabbit.oak.exercise.security.principal with parameters of type Root Modifier and Type Method Description @NotNull PrincipalManager
CustomPrincipalConfiguration. getPrincipalManager(Root root, NamePathMapper namePathMapper)
@NotNull PrincipalProvider
CustomPrincipalConfiguration. getPrincipalProvider(Root root, NamePathMapper namePathMapper)
-
Uses of Root in org.apache.jackrabbit.oak.jcr.delegate
Methods in org.apache.jackrabbit.oak.jcr.delegate that return Root Modifier and Type Method Description @NotNull Root
SessionDelegate. getRoot()
The currentRoot
instance this session delegate instance operates on.Methods in org.apache.jackrabbit.oak.jcr.delegate with parameters of type Root Modifier and Type Method Description void
SessionDelegate. commit(Root root)
Commits the changes applied to the given root. -
Uses of Root in org.apache.jackrabbit.oak.jcr.session
Constructors in org.apache.jackrabbit.oak.jcr.session with parameters of type Root Constructor Description SessionNamespaces(@NotNull Root root)
-
Uses of Root in org.apache.jackrabbit.oak.jcr.version
Methods in org.apache.jackrabbit.oak.jcr.version that return Root Modifier and Type Method Description protected @NotNull Root
ReadWriteVersionManager. getWorkspaceRoot()
Methods in org.apache.jackrabbit.oak.jcr.version with parameters of type Root Modifier and Type Method Description void
ReadWriteVersionManager. checkout(@NotNull Root workspaceRoot, @NotNull java.lang.String versionablePath)
Performs a checkout on a versionable tree.Constructors in org.apache.jackrabbit.oak.jcr.version with parameters of type Root Constructor Description VersionStorage(@NotNull Root versionStorageRoot)
-
Uses of Root in org.apache.jackrabbit.oak.jcr.xml
Constructors in org.apache.jackrabbit.oak.jcr.xml with parameters of type Root Constructor Description ImporterImpl(java.lang.String absPath, SessionContext sessionContext, Root root, int uuidBehavior, boolean isWorkspaceImport)
Creates a new importer instance. -
Uses of Root in org.apache.jackrabbit.oak.namepath.impl
Constructors in org.apache.jackrabbit.oak.namepath.impl with parameters of type Root Constructor Description GlobalNameMapper(Root root)
LocalNameMapper(Root root, java.util.Map<java.lang.String,java.lang.String> local)
-
Uses of Root in org.apache.jackrabbit.oak.plugins.identifier
Constructors in org.apache.jackrabbit.oak.plugins.identifier with parameters of type Root Constructor Description IdentifierManager(Root root)
-
Uses of Root in org.apache.jackrabbit.oak.plugins.name
Methods in org.apache.jackrabbit.oak.plugins.name that return Root Modifier and Type Method Description protected abstract Root
ReadWriteNamespaceRegistry. getWriteRoot()
Called by the write methods to acquire a freshRoot
instance that can be used to persist the requested namespace changes (and nothing else).Constructors in org.apache.jackrabbit.oak.plugins.name with parameters of type Root Constructor Description ReadOnlyNamespaceRegistry(Root root)
ReadWriteNamespaceRegistry(Root root)
-
Uses of Root in org.apache.jackrabbit.oak.plugins.nodetype
Methods in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type Root Modifier and Type Method Description static @NotNull ReadOnlyNodeTypeManager
ReadOnlyNodeTypeManager. getInstance(Root root, NamePathMapper namePathMapper)
Return a new instance ofReadOnlyNodeTypeManager
that reads node type information from the tree atNodeTypeConstants.NODE_TYPES_PATH
. -
Uses of Root in org.apache.jackrabbit.oak.plugins.nodetype.write
Methods in org.apache.jackrabbit.oak.plugins.nodetype.write that return Root Modifier and Type Method Description protected @NotNull Root
ReadWriteNodeTypeManager. getWriteRoot()
Called by the methodsReadWriteNodeTypeManager.registerNodeType(NodeTypeDefinition, boolean)
,ReadWriteNodeTypeManager.registerNodeTypes(NodeTypeDefinition[], boolean)
,ReadWriteNodeTypeManager.unregisterNodeType(String)
andReadWriteNodeTypeManager.unregisterNodeTypes(String[])
to acquire a freshRoot
instance that can be used to persist the requested node type changes (and nothing else).Methods in org.apache.jackrabbit.oak.plugins.nodetype.write with parameters of type Root Modifier and Type Method Description static void
NodeTypeRegistry. register(Root root, java.io.InputStream input, java.lang.String systemId)
Register the node type definitions contained in the specifiedinput
using the givenRoot
. -
Uses of Root in org.apache.jackrabbit.oak.plugins.observation.filter
Methods in org.apache.jackrabbit.oak.plugins.observation.filter with parameters of type Root Modifier and Type Method Description @NotNull PermissionProvider
PermissionProviderFactory. create(Root root)
Create a newPermissionProvider
instance. -
Uses of Root in org.apache.jackrabbit.oak.plugins.tree
Methods in org.apache.jackrabbit.oak.plugins.tree that return Root Modifier and Type Method Description @NotNull Root
RootProvider. createReadOnlyRoot(@NotNull Root root)
@NotNull Root
RootProvider. createReadOnlyRoot(@NotNull NodeState rootState)
@NotNull Root
RootProvider. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook commitHook)
Methods in org.apache.jackrabbit.oak.plugins.tree with parameters of type Root Modifier and Type Method Description static @NotNull TreeLocation
TreeLocation. create(@NotNull Root root)
Equivalent tocreate(root, "/")
static @NotNull TreeLocation
TreeLocation. create(@NotNull Root root, @NotNull java.lang.String path)
Create a newTreeLocation
instance for the item at the givenpath
inroot
.@NotNull Root
RootProvider. createReadOnlyRoot(@NotNull Root root)
-
Uses of Root in org.apache.jackrabbit.oak.plugins.tree.factories
Methods in org.apache.jackrabbit.oak.plugins.tree.factories that return Root Modifier and Type Method Description static @NotNull Root
RootFactory. createReadOnlyRoot(@NotNull Root root)
Deprecated.static @NotNull Root
RootFactory. createReadOnlyRoot(@NotNull NodeState rootState)
Deprecated.static @NotNull Root
RootFactory. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable java.lang.String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable QueryEngineSettings queryEngineSettings, @Nullable QueryIndexProvider indexProvider)
Deprecated.with Oak 1.7.2 due to the usage of deprecatedQueryEngineSettings
static @NotNull Root
RootFactory. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable java.lang.String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable QueryIndexProvider indexProvider)
Deprecated.Methods in org.apache.jackrabbit.oak.plugins.tree.factories with parameters of type Root Modifier and Type Method Description static @NotNull Root
RootFactory. createReadOnlyRoot(@NotNull Root root)
Deprecated. -
Uses of Root in org.apache.jackrabbit.oak.plugins.tree.impl
Methods in org.apache.jackrabbit.oak.plugins.tree.impl that return Root Modifier and Type Method Description @NotNull Root
RootProviderService. createReadOnlyRoot(@NotNull Root root)
@NotNull Root
RootProviderService. createReadOnlyRoot(@NotNull NodeState rootState)
@NotNull Root
RootProviderService. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook)
Methods in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type Root Modifier and Type Method Description @NotNull Root
RootProviderService. createReadOnlyRoot(@NotNull Root root)
-
Uses of Root in org.apache.jackrabbit.oak.plugins.value.jcr
Constructors in org.apache.jackrabbit.oak.plugins.value.jcr with parameters of type Root Constructor Description ValueFactoryImpl(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
Creates a new instance ofValueFactory
.ValueFactoryImpl(@NotNull Root root, @NotNull NamePathMapper namePathMapper, @NotNull BlobAccessProvider blobAccessProvider)
Creates a new instance ofValueFactory
. -
Uses of Root in org.apache.jackrabbit.oak.plugins.version
Methods in org.apache.jackrabbit.oak.plugins.version that return Root Modifier and Type Method Description protected abstract @NotNull Root
ReadOnlyVersionManager. getWorkspaceRoot()
/**protected @NotNull Root
ReadWriteVersionManager. getWorkspaceRoot()
Methods in org.apache.jackrabbit.oak.plugins.version with parameters of type Root Modifier and Type Method Description static @NotNull ReadOnlyVersionManager
ReadOnlyVersionManager. getInstance(Root root, NamePathMapper namePathMapper)
Return a new instance ofReadOnlyVersionManager
that reads version information from the tree atVersionConstants.VERSION_STORE_PATH
. -
Uses of Root in org.apache.jackrabbit.oak.query
Methods in org.apache.jackrabbit.oak.query that return Root Modifier and Type Method Description @NotNull Root
ExecutionContext. getRoot()
Used to create the actual query results from the indexed paths, needs to be a secured version of a tree to take into account ACLsConstructors in org.apache.jackrabbit.oak.query with parameters of type Root Constructor Description ExecutionContext(NodeState baseState, Root root, QueryEngineSettings settings, QueryIndexProvider indexProvider, PermissionProvider permissionProvider, PrefetchNodeStore store)
-
Uses of Root in org.apache.jackrabbit.oak.security.authentication.token
Methods in org.apache.jackrabbit.oak.security.authentication.token with parameters of type Root Modifier and Type Method Description @NotNull TokenProvider
TokenConfigurationImpl. getTokenProvider(@NotNull Root root)
Returns a new instance ofTokenProvider
. -
Uses of Root in org.apache.jackrabbit.oak.security.authorization
Methods in org.apache.jackrabbit.oak.security.authorization with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
AuthorizationConfigurationImpl. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
AuthorizationConfigurationImpl. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type Root Modifier and Type Method Description boolean
AccessControlImporter. init(@NotNull Session session, @NotNull Root root, @NotNull NamePathMapper namePathMapper, boolean isWorkspaceImport, int uuidBehavior, @NotNull ReferenceChangeTracker referenceTracker, @NotNull SecurityProvider securityProvider)
Constructors in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type Root Constructor Description AccessControlManagerImpl(@NotNull Root root, @NotNull NamePathMapper namePathMapper, @NotNull SecurityProvider securityProvider)
-
Uses of Root in org.apache.jackrabbit.oak.security.authorization.composite
Methods in org.apache.jackrabbit.oak.security.authorization.composite with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
CompositeAuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
CompositeAuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.security.authorization.permission
Methods in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type Root Modifier and Type Method Description static @NotNull Tree
PermissionUtil. getPermissionsRoot(@NotNull Root root, @NotNull java.lang.String permissionRootName)
protected @NotNull org.apache.jackrabbit.oak.security.authorization.permission.PermissionStore
MountPermissionProvider. getPermissionStore(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull RestrictionProvider restrictionProvider)
protected @NotNull org.apache.jackrabbit.oak.security.authorization.permission.PermissionStore
PermissionProviderImpl. getPermissionStore(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull RestrictionProvider restrictionProvider)
static @NotNull Tree
PermissionUtil. getReadOnlyTree(@NotNull Tree tree, @NotNull Root readOnlyRoot)
static @Nullable Tree
PermissionUtil. getReadOnlyTreeOrNull(@Nullable Tree tree, @NotNull Root readOnlyRoot)
Constructors in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type Root Constructor Description AllPermissionProviderImpl(@NotNull Root root, @NotNull ProviderCtx providerCtx)
MountPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals, @NotNull RestrictionProvider restrictionProvider, @NotNull ConfigurationParameters options, @NotNull Context ctx, @NotNull ProviderCtx providerCtx)
PermissionProviderImpl(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals, @NotNull RestrictionProvider restrictionProvider, @NotNull ConfigurationParameters options, @NotNull Context ctx, @NotNull ProviderCtx providerCtx)
-
Uses of Root in org.apache.jackrabbit.oak.security.principal
Methods in org.apache.jackrabbit.oak.security.principal with parameters of type Root Modifier and Type Method Description @NotNull PrincipalManager
PrincipalConfigurationImpl. getPrincipalManager(Root root, NamePathMapper namePathMapper)
@NotNull PrincipalProvider
PrincipalConfigurationImpl. getPrincipalProvider(Root root, NamePathMapper namePathMapper)
-
Uses of Root in org.apache.jackrabbit.oak.security.privilege
Methods in org.apache.jackrabbit.oak.security.privilege with parameters of type Root Modifier and Type Method Description @NotNull PrivilegeManager
PrivilegeConfigurationImpl. getPrivilegeManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
-
Uses of Root in org.apache.jackrabbit.oak.security.user
Methods in org.apache.jackrabbit.oak.security.user with parameters of type Root Modifier and Type Method Description @NotNull Authentication
UserAuthenticationFactoryImpl. getAuthentication(@NotNull UserConfiguration userConfiguration, @NotNull Root root, @Nullable java.lang.String userId)
@NotNull DynamicMembershipProvider
DynamicMembershipTracker. getDynamicMembershipProvider(@NotNull Root root, @NotNull UserManager userManager, @NotNull NamePathMapper namePathMapper)
@NotNull UserManager
UserConfigurationImpl. getUserManager(Root root, NamePathMapper namePathMapper)
@Nullable PrincipalProvider
UserConfigurationImpl. getUserPrincipalProvider(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
Constructors in org.apache.jackrabbit.oak.security.user with parameters of type Root Constructor Description UserManagerImpl(@NotNull Root root, @NotNull PartialValueFactory valueFactory, @NotNull SecurityProvider securityProvider, @NotNull UserMonitor monitor, @NotNull DynamicMembershipService dynamicMembershipService)
-
Uses of Root in org.apache.jackrabbit.oak.security.user.autosave
Constructors in org.apache.jackrabbit.oak.security.user.autosave with parameters of type Root Constructor Description AutoSaveEnabledManager(UserManager dlg, Root root)
-
Uses of Root in org.apache.jackrabbit.oak.security.user.query
Constructors in org.apache.jackrabbit.oak.security.user.query with parameters of type Root Constructor Description UserQueryManager(@NotNull UserManagerImpl userManager, @NotNull NamePathMapper namePathMapper, @NotNull ConfigurationParameters config, @NotNull Root root)
-
Uses of Root in org.apache.jackrabbit.oak.security.user.whiteboard
Methods in org.apache.jackrabbit.oak.security.user.whiteboard with parameters of type Root Modifier and Type Method Description @Nullable Authentication
WhiteboardUserAuthenticationFactory. getAuthentication(@NotNull UserConfiguration userConfiguration, @NotNull Root root, @Nullable java.lang.String userId)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.authentication
Methods in org.apache.jackrabbit.oak.spi.security.authentication that return Root Modifier and Type Method Description protected @Nullable Root
AbstractLoginModule. getRoot()
Tries to obtain aRoot
object from the callback handler using a new RepositoryCallback and keeps the value as private field. -
Uses of Root in org.apache.jackrabbit.oak.spi.security.authentication.external.impl.principal
Methods in org.apache.jackrabbit.oak.spi.security.authentication.external.impl.principal with parameters of type Root Modifier and Type Method Description @NotNull DynamicMembershipProvider
AutomembershipService. getDynamicMembershipProvider(@NotNull Root root, @NotNull UserManager userManager, @NotNull NamePathMapper namePathMapper)
@NotNull PrincipalManager
ExternalPrincipalConfiguration. getPrincipalManager(Root root, NamePathMapper namePathMapper)
@NotNull PrincipalProvider
ExternalPrincipalConfiguration. getPrincipalProvider(Root root, NamePathMapper namePathMapper)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.authentication.token
Methods in org.apache.jackrabbit.oak.spi.security.authentication.token with parameters of type Root Modifier and Type Method Description @NotNull TokenProvider
CompositeTokenConfiguration. getTokenProvider(@NotNull Root root)
@NotNull TokenProvider
TokenConfiguration. getTokenProvider(@NotNull Root root)
Returns a new instance ofTokenProvider
. -
Uses of Root in org.apache.jackrabbit.oak.spi.security.authorization
Methods in org.apache.jackrabbit.oak.spi.security.authorization with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
AuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull AccessControlManager
OpenAuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
AuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
@NotNull PermissionProvider
OpenAuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol that return Root Modifier and Type Method Description protected @NotNull Root
AbstractAccessControlManager. getLatestRoot()
protected @NotNull Root
AbstractAccessControlManager. getRoot()
Constructors in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol with parameters of type Root Constructor Description AbstractAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper, @NotNull SecurityProvider securityProvider)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.authorization.cug.impl
Methods in org.apache.jackrabbit.oak.spi.security.authorization.cug.impl with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
CugConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
CugConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.authorization.principalbased
Methods in org.apache.jackrabbit.oak.spi.security.authorization.principalbased with parameters of type Root Modifier and Type Method Description @NotNull Filter
FilterProvider. getFilter(@NotNull SecurityProvider securityProvider, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Returns aFilter
for the given parameters. -
Uses of Root in org.apache.jackrabbit.oak.spi.security.authorization.principalbased.impl
Methods in org.apache.jackrabbit.oak.spi.security.authorization.principalbased.impl with parameters of type Root Modifier and Type Method Description @NotNull AccessControlManager
PrincipalBasedAuthorizationConfiguration. getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull Filter
FilterProviderImpl. getFilter(@NotNull SecurityProvider securityProvider, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
@NotNull PermissionProvider
PrincipalBasedAuthorizationConfiguration. getPermissionProvider(@NotNull Root root, @NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.principal
Methods in org.apache.jackrabbit.oak.spi.security.principal with parameters of type Root Modifier and Type Method Description @NotNull PrincipalManager
CompositePrincipalConfiguration. getPrincipalManager(Root root, NamePathMapper namePathMapper)
@NotNull PrincipalManager
PrincipalConfiguration. getPrincipalManager(Root root, NamePathMapper namePathMapper)
Returns an instance ofPrincipalManager
that can be used to query and retrieve principals such as needed for JCR access control management.@NotNull PrincipalProvider
CompositePrincipalConfiguration. getPrincipalProvider(Root root, NamePathMapper namePathMapper)
@NotNull PrincipalProvider
PrincipalConfiguration. getPrincipalProvider(Root root, NamePathMapper namePathMapper)
Returns an instance of the OAKPrincipalProvider
. -
Uses of Root in org.apache.jackrabbit.oak.spi.security.privilege
Methods in org.apache.jackrabbit.oak.spi.security.privilege with parameters of type Root Modifier and Type Method Description @NotNull PrivilegeManager
PrivilegeConfiguration. getPrivilegeManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
Creates a new instance ofPrivilegeManager
.static @NotNull Tree
PrivilegeUtil. getPrivilegesTree(@NotNull Root root)
Returns the root tree for all privilege definitions stored in the content repository.Constructors in org.apache.jackrabbit.oak.spi.security.privilege with parameters of type Root Constructor Description PrivilegeBitsProvider(Root root)
-
Uses of Root in org.apache.jackrabbit.oak.spi.security.user
Methods in org.apache.jackrabbit.oak.spi.security.user with parameters of type Root Modifier and Type Method Description @Nullable Authentication
UserAuthenticationFactory. getAuthentication(@NotNull UserConfiguration configuration, @NotNull Root root, @Nullable java.lang.String userId)
Returns an implementationAuthentication
for the specifieduserId
.@NotNull DynamicMembershipProvider
DynamicMembershipService. getDynamicMembershipProvider(@NotNull Root root, @NotNull UserManager userManager, @NotNull NamePathMapper namePathMapper)
Returns in instance ofDynamicMembershipProvider
for the given root, user manager and name-path mapper.@NotNull UserManager
UserConfiguration. getUserManager(Root root, NamePathMapper namePathMapper)
Create a newUserManager
instance@Nullable PrincipalProvider
UserConfiguration. getUserPrincipalProvider(@NotNull Root root, @NotNull NamePathMapper namePathMapper)
Optional method that allows a given user management implementation to provide a specific and optimized implementation of thePrincipalProvider
interface for the principals represented by the user/groups known to this implementation. -
Uses of Root in org.apache.jackrabbit.oak.spi.security.user.action
Methods in org.apache.jackrabbit.oak.spi.security.user.action with parameters of type Root Modifier and Type Method Description void
AbstractAuthorizableAction. onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
AbstractAuthorizableAction. onCreate(@NotNull User user, @Nullable java.lang.String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
AccessControlAction. onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
void
AccessControlAction. onCreate(@NotNull User user, @Nullable java.lang.String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
void
AuthorizableAction. onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific modifications or validation associated with the creation of a new group.default void
AuthorizableAction. onCreate(@NotNull User systemUser, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific modifications or validation associated with the creation of a new systemsystem.void
AuthorizableAction. onCreate(@NotNull User user, @Nullable java.lang.String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific modifications or validation associated with the creation of a new user.void
PasswordValidationAction. onCreate(@NotNull User user, @Nullable java.lang.String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
void
UserAction. onDisable(@NotNull User user, @Nullable java.lang.String disableReason, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific behavior associated with disabling (or re-enabling) an user.void
UserAction. onGrantImpersonation(@NotNull User user, @NotNull java.security.Principal principal, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific behavior associated with granting a given principal the ability to impersonate the user.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
AbstractGroupAction. onMembersAdded(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
GroupAction. onMembersAdded(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Multiple members were added to theGroup
.void
AbstractGroupAction. onMembersAddedContentId(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberContentIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
GroupAction. onMembersAddedContentId(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberContentIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Multiple members were added to theGroup
during XML group import.void
AbstractGroupAction. onMembersRemoved(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
GroupAction. onMembersRemoved(@NotNull Group group, @NotNull java.lang.Iterable<java.lang.String> memberIds, @NotNull java.lang.Iterable<java.lang.String> failedIds, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Multiple members were removed from theGroup
.void
AbstractAuthorizableAction. onPasswordChange(@NotNull User user, @Nullable java.lang.String newPassword, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Doesn't perform any action.void
AuthorizableAction. onPasswordChange(@NotNull User user, @Nullable java.lang.String newPassword, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific action or validation associated with changing a user password.void
PasswordChangeAction. onPasswordChange(@NotNull User user, @Nullable java.lang.String newPassword, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
void
PasswordValidationAction. onPasswordChange(@NotNull User user, @Nullable java.lang.String newPassword, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
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)
void
UserAction. onRevokeImpersonation(@NotNull User user, @NotNull java.security.Principal principal, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
Allows to add application specific behavior associated with revoking a given principal the ability to impersonate the user. -
Uses of Root in org.apache.jackrabbit.oak.spi.xml
Methods in org.apache.jackrabbit.oak.spi.xml with parameters of type Root Modifier and Type Method Description boolean
ProtectedItemImporter. init(@NotNull Session session, @NotNull Root root, @NotNull NamePathMapper namePathMapper, boolean isWorkspaceImport, int uuidBehavior, @NotNull ReferenceChangeTracker referenceTracker, @NotNull SecurityProvider securityProvider)
Initializes the importer.
-