Class OpenSecurityProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.OpenSecurityProvider
-
- All Implemented Interfaces:
SecurityProvider
public class OpenSecurityProvider extends java.lang.Object implements SecurityProvider
RudimentarySecurityProviderimplementation that allow every subject to authenticate and grants it full access everywhere. Note, that this implementation does not provide support for other security related features such as e.g. user or access control management.
-
-
Constructor Summary
Constructors Constructor Description OpenSecurityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetConfiguration(@NotNull java.lang.Class<T> configClass)Returns the security configuration of the specifiedconfigClass.@NotNull java.lang.Iterable<? extends SecurityConfiguration>getConfigurations()Returns all availableSecurityConfigurations.@NotNull ConfigurationParametersgetParameters(@Nullable java.lang.String name)Allows to retrieve the configuration parameters associated with a givenSecurityConfigurationaccessible by this provider.
-
-
-
Method Detail
-
getParameters
@NotNull public @NotNull ConfigurationParameters getParameters(@Nullable @Nullable java.lang.String name)
Description copied from interface:SecurityProviderAllows to retrieve the configuration parameters associated with a givenSecurityConfigurationaccessible by this provider. If the specified name isnullthe global config parameters will be returned.- Specified by:
getParametersin interfaceSecurityProvider- Parameters:
name- Thenameof the security configuration.- Returns:
- The configuration parameters associated with the
SecurityConfigurationidentified by the specified name. If the specified name isnullthe global config parameters will be returned.
-
getConfigurations
@NotNull public @NotNull java.lang.Iterable<? extends SecurityConfiguration> getConfigurations()
Description copied from interface:SecurityProviderReturns all availableSecurityConfigurations.- Specified by:
getConfigurationsin interfaceSecurityProvider- Returns:
- the available
SecurityConfigurations.
-
getConfiguration
@NotNull public <T> T getConfiguration(@NotNull @NotNull java.lang.Class<T> configClass)Description copied from interface:SecurityProviderReturns the security configuration of the specifiedconfigClass.- Specified by:
getConfigurationin interfaceSecurityProvider- Parameters:
configClass- The class of the configuration to retrieve.- Returns:
- The desired security configuration.
-
-