public static class SecurityConfiguration.Default extends java.lang.Object implements SecurityConfiguration
SecurityConfiguration.Default
Constructor and Description |
---|
Default() |
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 public @NotNull java.lang.String getName()
SecurityConfiguration
getName
in interface SecurityConfiguration
@NotNull public @NotNull ConfigurationParameters getParameters()
SecurityConfiguration
ConfigurationParameters.EMPTY
should be returned.getParameters
in interface SecurityConfiguration
@NotNull public @NotNull WorkspaceInitializer getWorkspaceInitializer()
SecurityConfiguration
WorkspaceInitializer.DEFAULT
should be returned.getWorkspaceInitializer
in interface SecurityConfiguration
WorkspaceInitializer
.@NotNull public @NotNull RepositoryInitializer getRepositoryInitializer()
SecurityConfiguration
RepositoryInitializer.DEFAULT
should be returned.getRepositoryInitializer
in interface SecurityConfiguration
RepositoryInitializer
.@NotNull public @NotNull java.util.List<? extends CommitHook> getCommitHooks(@NotNull @NotNull java.lang.String workspaceName)
SecurityConfiguration
getCommitHooks
in interface SecurityConfiguration
workspaceName
- The name of the workspace.@NotNull public @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)
SecurityConfiguration
getValidators
in interface SecurityConfiguration
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 public @NotNull java.util.List<ThreeWayConflictHandler> getConflictHandlers()
SecurityConfiguration
getConflictHandlers
in interface SecurityConfiguration
ThreeWayConflictHandler
.@NotNull public @NotNull java.util.List<ProtectedItemImporter> getProtectedItemImporters()
getProtectedItemImporters
in interface SecurityConfiguration
@NotNull public @NotNull Context getContext()
getContext
in interface SecurityConfiguration
Copyright © 2010 - 2020 Adobe. All Rights Reserved