@ProviderType
public interface SecurityConfiguration
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecurityConfiguration.Default
Default implementation that provides empty initializers, validators,
commit hooks and parameters.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook> |
getCommitHooks(String workspaceName)
Returns the list of commit hooks that need to be executed for the
specified workspace name.
|
List<org.apache.jackrabbit.oak.spi.commit.ThreeWayConflictHandler> |
getConflictHandlers()
Returns the list of conflict handlers available for this security configuration.
|
Context |
getContext() |
String |
getName()
Returns the name of this security configuration.
|
ConfigurationParameters |
getParameters()
Returns the configuration parameters associated with this security
configuration instance.
|
List<ProtectedItemImporter> |
getProtectedItemImporters() |
org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer |
getRepositoryInitializer()
Returns a repository initializer for this security configuration.
|
List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider> |
getValidators(String workspaceName,
Set<Principal> principals,
org.apache.jackrabbit.oak.spi.commit.MoveTracker moveTracker)
Returns the list of validators that need to be executed for the specified
workspace name.
|
org.apache.jackrabbit.oak.spi.lifecycle.WorkspaceInitializer |
getWorkspaceInitializer()
Returns a workspace initializer for this security configuration.
|
@Nonnull String getName()
@Nonnull ConfigurationParameters getParameters()
ConfigurationParameters.EMPTY should be returned.@Nonnull org.apache.jackrabbit.oak.spi.lifecycle.WorkspaceInitializer getWorkspaceInitializer()
WorkspaceInitializer.DEFAULT should be returned.WorkspaceInitializer.@Nonnull org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer getRepositoryInitializer()
RepositoryInitializer.DEFAULT should be returned.RepositoryInitializer.@Nonnull List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook> getCommitHooks(@Nonnull String workspaceName)
workspaceName - The name of the workspace.@Nonnull List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider> getValidators(@Nonnull String workspaceName, @Nonnull Set<Principal> principals, @Nonnull org.apache.jackrabbit.oak.spi.commit.MoveTracker moveTracker)
workspaceName - The name of the workspace.principals - The set of principals associated with the subject
that is committing modifications.moveTracker - The move tracker associated with the commit.@Nonnull List<org.apache.jackrabbit.oak.spi.commit.ThreeWayConflictHandler> getConflictHandlers()
ThreeWayConflictHandler.@Nonnull List<ProtectedItemImporter> getProtectedItemImporters()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.