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
RudimentarySecurityProvider
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 Constructor Description OpenSecurityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getConfiguration(@NotNull java.lang.Class<T> configClass)
Returns the security configuration of the specifiedconfigClass
.@NotNull java.lang.Iterable<? extends SecurityConfiguration>
getConfigurations()
Returns all availableSecurityConfiguration
s.@NotNull ConfigurationParameters
getParameters(@Nullable java.lang.String name)
Allows to retrieve the configuration parameters associated with a givenSecurityConfiguration
accessible by this provider.
-
-
-
Method Detail
-
getParameters
@NotNull public @NotNull ConfigurationParameters getParameters(@Nullable @Nullable java.lang.String name)
Description copied from interface:SecurityProvider
Allows to retrieve the configuration parameters associated with a givenSecurityConfiguration
accessible by this provider. If the specified name isnull
the global config parameters will be returned.- Specified by:
getParameters
in interfaceSecurityProvider
- Parameters:
name
- Thename
of the security configuration.- Returns:
- The configuration parameters associated with the
SecurityConfiguration
identified by the specified name. If the specified name isnull
the global config parameters will be returned.
-
getConfigurations
@NotNull public @NotNull java.lang.Iterable<? extends SecurityConfiguration> getConfigurations()
Description copied from interface:SecurityProvider
Returns all availableSecurityConfiguration
s.- Specified by:
getConfigurations
in interfaceSecurityProvider
- Returns:
- the available
SecurityConfiguration
s.
-
getConfiguration
@NotNull public <T> T getConfiguration(@NotNull @NotNull java.lang.Class<T> configClass)
Description copied from interface:SecurityProvider
Returns the security configuration of the specifiedconfigClass
.- Specified by:
getConfiguration
in interfaceSecurityProvider
- Parameters:
configClass
- The class of the configuration to retrieve.- Returns:
- The desired security configuration.
-
-