public static class SecurityConfiguration.Default extends Object implements SecurityConfiguration
SecurityConfiguration.Default| Constructor and Description |
|---|
Default() |
| 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 public String getName()
SecurityConfigurationgetName in interface SecurityConfiguration@Nonnull public ConfigurationParameters getParameters()
SecurityConfigurationConfigurationParameters.EMPTY should be returned.getParameters in interface SecurityConfiguration@Nonnull public org.apache.jackrabbit.oak.spi.lifecycle.WorkspaceInitializer getWorkspaceInitializer()
SecurityConfigurationWorkspaceInitializer.DEFAULT should be returned.getWorkspaceInitializer in interface SecurityConfigurationWorkspaceInitializer.@Nonnull public org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer getRepositoryInitializer()
SecurityConfigurationRepositoryInitializer.DEFAULT should be returned.getRepositoryInitializer in interface SecurityConfigurationRepositoryInitializer.@Nonnull public List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook> getCommitHooks(@Nonnull String workspaceName)
SecurityConfigurationgetCommitHooks in interface SecurityConfigurationworkspaceName - The name of the workspace.@Nonnull public 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)
SecurityConfigurationgetValidators in interface SecurityConfigurationworkspaceName - 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 public List<org.apache.jackrabbit.oak.spi.commit.ThreeWayConflictHandler> getConflictHandlers()
SecurityConfigurationgetConflictHandlers in interface SecurityConfigurationThreeWayConflictHandler.@Nonnull public List<ProtectedItemImporter> getProtectedItemImporters()
getProtectedItemImporters in interface SecurityConfiguration@Nonnull public Context getContext()
getContext in interface SecurityConfigurationCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.