@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 |
---|---|
@NotNull java.util.List<? extends CommitHook> |
getCommitHooks(@NotNull java.lang.String workspaceName)
Returns the list of commit hooks that need to be executed for the
specified workspace name.
|
@NotNull java.util.List<ThreeWayConflictHandler> |
getConflictHandlers()
Returns the list of conflict handlers available for this security configuration.
|
@NotNull Context |
getContext() |
@NotNull java.lang.String |
getName()
Returns the name of this security configuration.
|
@NotNull ConfigurationParameters |
getParameters()
Returns the configuration parameters associated with this security
configuration instance.
|
@NotNull java.util.List<ProtectedItemImporter> |
getProtectedItemImporters() |
@NotNull RepositoryInitializer |
getRepositoryInitializer()
Returns a repository initializer for this security configuration.
|
@NotNull java.util.List<? extends ValidatorProvider> |
getValidators(@NotNull java.lang.String workspaceName,
@NotNull java.util.Set<java.security.Principal> principals,
@NotNull MoveTracker moveTracker)
Returns the list of validators that need to be executed for the specified
workspace name.
|
@NotNull WorkspaceInitializer |
getWorkspaceInitializer()
Returns a workspace initializer for this security configuration.
|
@NotNull @NotNull java.lang.String getName()
@NotNull @NotNull ConfigurationParameters getParameters()
ConfigurationParameters.EMPTY
should be returned.@NotNull @NotNull WorkspaceInitializer getWorkspaceInitializer()
WorkspaceInitializer.DEFAULT
should be returned.WorkspaceInitializer
.@NotNull @NotNull RepositoryInitializer getRepositoryInitializer()
RepositoryInitializer.DEFAULT
should be returned.RepositoryInitializer
.@NotNull @NotNull java.util.List<? extends CommitHook> getCommitHooks(@NotNull @NotNull java.lang.String workspaceName)
workspaceName
- The name of the workspace.@NotNull @NotNull java.util.List<? extends ValidatorProvider> getValidators(@NotNull @NotNull java.lang.String workspaceName, @NotNull @NotNull java.util.Set<java.security.Principal> principals, @NotNull @NotNull 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.@NotNull @NotNull java.util.List<ThreeWayConflictHandler> getConflictHandlers()
ThreeWayConflictHandler
.@NotNull @NotNull java.util.List<ProtectedItemImporter> getProtectedItemImporters()
@NotNull @NotNull Context getContext()
Copyright © 2010 - 2020 Adobe. All Rights Reserved