Class SecurityConfiguration.Default

    • Constructor Summary

      Constructors 
      Constructor Description
      Default()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.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<org.apache.jackrabbit.oak.spi.commit.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 org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer getRepositoryInitializer()
      Returns a repository initializer for this security configuration.
      @NotNull java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider> getValidators​(@NotNull java.lang.String workspaceName, @NotNull java.util.Set<java.security.Principal> principals, @NotNull org.apache.jackrabbit.oak.spi.commit.MoveTracker moveTracker)
      Returns the list of validators that need to be executed for the specified workspace name.
      @NotNull org.apache.jackrabbit.oak.spi.lifecycle.WorkspaceInitializer getWorkspaceInitializer()
      Returns a workspace initializer for this security configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
        Description copied from interface: SecurityConfiguration
        Returns the name of this security configuration.
        Specified by:
        getName in interface SecurityConfiguration
        Returns:
        The name of this configuration.
      • getWorkspaceInitializer

        @NotNull
        public @NotNull org.apache.jackrabbit.oak.spi.lifecycle.WorkspaceInitializer getWorkspaceInitializer()
        Description copied from interface: SecurityConfiguration
        Returns a workspace initializer for this security configuration. If this configuration doesn't require any specific workspace initialization WorkspaceInitializer.DEFAULT should be returned.
        Specified by:
        getWorkspaceInitializer in interface SecurityConfiguration
        Returns:
        An instance of WorkspaceInitializer.
      • getRepositoryInitializer

        @NotNull
        public @NotNull org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer getRepositoryInitializer()
        Description copied from interface: SecurityConfiguration
        Returns a repository initializer for this security configuration. If this configuration doesn't require any specific repository initialization RepositoryInitializer.DEFAULT should be returned.
        Specified by:
        getRepositoryInitializer in interface SecurityConfiguration
        Returns:
        An instance of RepositoryInitializer.
      • getCommitHooks

        @NotNull
        public @NotNull java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook> getCommitHooks​(@NotNull
                                                                                                                 @NotNull java.lang.String workspaceName)
        Description copied from interface: SecurityConfiguration
        Returns the list of commit hooks that need to be executed for the specified workspace name.
        Specified by:
        getCommitHooks in interface SecurityConfiguration
        Parameters:
        workspaceName - The name of the workspace.
        Returns:
        A list of commit hooks.
      • getValidators

        @NotNull
        public @NotNull java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider> getValidators​(@NotNull
                                                                                                                       @NotNull java.lang.String workspaceName,
                                                                                                                       @NotNull
                                                                                                                       @NotNull java.util.Set<java.security.Principal> principals,
                                                                                                                       @NotNull
                                                                                                                       @NotNull org.apache.jackrabbit.oak.spi.commit.MoveTracker moveTracker)
        Description copied from interface: SecurityConfiguration
        Returns the list of validators that need to be executed for the specified workspace name.
        Specified by:
        getValidators in interface SecurityConfiguration
        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
        public @NotNull java.util.List<org.apache.jackrabbit.oak.spi.commit.ThreeWayConflictHandler> getConflictHandlers()
        Description copied from interface: SecurityConfiguration
        Returns the list of conflict handlers available for this security configuration.
        Specified by:
        getConflictHandlers in interface SecurityConfiguration
        Returns:
        A list of ThreeWayConflictHandler.