Class SilverpeasSecurityProvider

  • All Implemented Interfaces:
    org.apache.jackrabbit.oak.spi.security.SecurityProvider

    public class SilverpeasSecurityProvider
    extends Object
    implements org.apache.jackrabbit.oak.spi.security.SecurityProvider
    Security provider for the Oak implementation of the JCR. It provides the objects required by Oak to authenticate a user accessing a repository and to authorize him to navigate across the repository's content tree.

    The security provider provides to Oak both a custom AuthenticationConfiguration and a custom AuthorizationConfiguration objects that defines the rules to apply when authenticating and authorizing a user accessing the JCR repository. Those configuration objects define a bridge between the Oak implementation of the JCR and the Silverpeas world.

    Author:
    mmoquillon
    • Constructor Detail

      • SilverpeasSecurityProvider

        public SilverpeasSecurityProvider()
    • Method Detail

      • getParameters

        @Nonnull
        public org.apache.jackrabbit.oak.spi.security.ConfigurationParameters getParameters​(@Nullable
                                                                                            String name)
        Specified by:
        getParameters in interface org.apache.jackrabbit.oak.spi.security.SecurityProvider
      • getConfigurations

        @Nonnull
        public Iterable<? extends org.apache.jackrabbit.oak.spi.security.SecurityConfiguration> getConfigurations()
        Specified by:
        getConfigurations in interface org.apache.jackrabbit.oak.spi.security.SecurityProvider
      • getConfiguration

        @Nonnull
        public <T> T getConfiguration​(@Nonnull
                                      Class<T> configClass)
        Specified by:
        getConfiguration in interface org.apache.jackrabbit.oak.spi.security.SecurityProvider