Interface SecurityConfiguration
- 
- All Known Subinterfaces:
 AuthenticationConfiguration,AuthorizationConfiguration,PrivilegeConfiguration,TokenConfiguration,UserConfiguration
- All Known Implementing Classes:
 CompositeConfiguration,CompositeTokenConfiguration,ConfigurationBase,OpenAuthenticationConfiguration,OpenAuthorizationConfiguration,SecurityConfiguration.Default
@ProviderType public interface SecurityConfigurationBase interface for all security related configurations. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSecurityConfiguration.DefaultDefault implementation that provides empty initializers, validators, commit hooks and parameters. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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 ContextgetContext()default @NotNull java.lang.Iterable<Monitor<?>>getMonitors(@NotNull StatisticsProvider statisticsProvider)@NotNull java.lang.StringgetName()Returns the name of this security configuration.@NotNull ConfigurationParametersgetParameters()Returns the configuration parameters associated with this security configuration instance.@NotNull java.util.List<ProtectedItemImporter>getProtectedItemImporters()@NotNull RepositoryInitializergetRepositoryInitializer()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 WorkspaceInitializergetWorkspaceInitializer()Returns a workspace initializer for this security configuration. 
 - 
 
- 
- 
Method Detail
- 
getName
@NotNull @NotNull java.lang.String getName()
Returns the name of this security configuration.- Returns:
 - The name of this configuration.
 
 
- 
getParameters
@NotNull @NotNull ConfigurationParameters getParameters()
Returns the configuration parameters associated with this security configuration instance. If no parameters are presentConfigurationParameters.EMPTYshould be returned.- Returns:
 - The configuration parameters.
 
 
- 
getWorkspaceInitializer
@NotNull @NotNull WorkspaceInitializer getWorkspaceInitializer()
Returns a workspace initializer for this security configuration. If this configuration doesn't require any specific workspace initializationWorkspaceInitializer.DEFAULTshould be returned.- Returns:
 - An instance of 
WorkspaceInitializer. 
 
- 
getRepositoryInitializer
@NotNull @NotNull RepositoryInitializer getRepositoryInitializer()
Returns a repository initializer for this security configuration. If this configuration doesn't require any specific repository initializationRepositoryInitializer.DEFAULTshould be returned.- Returns:
 - An instance of 
RepositoryInitializer. 
 
- 
getCommitHooks
@NotNull @NotNull java.util.List<? extends CommitHook> getCommitHooks(@NotNull @NotNull java.lang.String workspaceName)
Returns the list of commit hooks that need to be executed for the specified workspace name.- Parameters:
 workspaceName- The name of the workspace.- Returns:
 - A list of commit hooks.
 
 
- 
getValidators
@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)
Returns the list of validators that need to be executed for the specified workspace name.- Parameters:
 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.- Returns:
 - A list of validators.
 
 
- 
getConflictHandlers
@NotNull @NotNull java.util.List<ThreeWayConflictHandler> getConflictHandlers()
Returns the list of conflict handlers available for this security configuration.- Returns:
 - A list of 
ThreeWayConflictHandler. 
 
- 
getProtectedItemImporters
@NotNull @NotNull java.util.List<ProtectedItemImporter> getProtectedItemImporters()
- Returns:
 - The list of protected item importers defined by this configuration.
 
 
- 
getContext
@NotNull @NotNull Context getContext()
- Returns:
 - The context defined by this configuration.
 
 
- 
getMonitors
@NotNull default @NotNull java.lang.Iterable<Monitor<?>> getMonitors(@NotNull @NotNull StatisticsProvider statisticsProvider)
 
 - 
 
 -