Class OpenSecurityProvider
java.lang.Object
org.apache.jackrabbit.oak.spi.security.OpenSecurityProvider
- All Implemented Interfaces:
SecurityProvider
Rudimentary
SecurityProvider implementation 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 -
Method Summary
Modifier and TypeMethodDescription<T> TgetConfiguration(@NotNull Class<T> configClass) Returns the security configuration of the specifiedconfigClass.@NotNull Iterable<? extends SecurityConfiguration>Returns all availableSecurityConfigurations.@NotNull ConfigurationParametersgetParameters(@Nullable String name) Allows to retrieve the configuration parameters associated with a givenSecurityConfigurationaccessible by this provider.
-
Constructor Details
-
OpenSecurityProvider
public OpenSecurityProvider()
-
-
Method Details
-
getParameters
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
Description copied from interface:SecurityProviderReturns all availableSecurityConfigurations.- Specified by:
getConfigurationsin interfaceSecurityProvider- Returns:
- the available
SecurityConfigurations.
-
getConfiguration
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.
-