Class SilverpeasSecurityProvider
- java.lang.Object
-
- org.silverpeas.core.jcr.impl.oak.security.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 customAuthorizationConfiguration
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 Summary
Constructors Constructor Description SilverpeasSecurityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getConfiguration(Class<T> configClass)
Iterable<? extends org.apache.jackrabbit.oak.spi.security.SecurityConfiguration>
getConfigurations()
org.apache.jackrabbit.oak.spi.security.ConfigurationParameters
getParameters(String name)
-
-
-
Method Detail
-
getParameters
@Nonnull public org.apache.jackrabbit.oak.spi.security.ConfigurationParameters getParameters(@Nullable String name)
- Specified by:
getParameters
in interfaceorg.apache.jackrabbit.oak.spi.security.SecurityProvider
-
getConfigurations
@Nonnull public Iterable<? extends org.apache.jackrabbit.oak.spi.security.SecurityConfiguration> getConfigurations()
- Specified by:
getConfigurations
in interfaceorg.apache.jackrabbit.oak.spi.security.SecurityProvider
-
getConfiguration
@Nonnull public <T> T getConfiguration(@Nonnull Class<T> configClass)
- Specified by:
getConfiguration
in interfaceorg.apache.jackrabbit.oak.spi.security.SecurityProvider
-
-