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> T
getConfiguration
(@NotNull Class<T> configClass) Returns the security configuration of the specifiedconfigClass
.@NotNull Iterable<? extends SecurityConfiguration>
Returns all availableSecurityConfiguration
s.@NotNull ConfigurationParameters
getParameters
(@Nullable String name) Allows to retrieve the configuration parameters associated with a givenSecurityConfiguration
accessible by this provider.
-
Constructor Details
-
OpenSecurityProvider
public OpenSecurityProvider()
-
-
Method Details
-
getParameters
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
Description copied from interface:SecurityProvider
Returns all availableSecurityConfiguration
s.- Specified by:
getConfigurations
in interfaceSecurityProvider
- Returns:
- the available
SecurityConfiguration
s.
-
getConfiguration
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.
-