Interface SecurityProvider
-
- All Known Implementing Classes:
OpenSecurityProvider
@ProviderType public interface SecurityProviderMain entry point for security related plugins to an Oak repository. The interface allow to access the availableSecurityConfigurations defining the individual plugins. In addition this provider gives access to the configuration parameters that apply to the configurations with the specifiedname.
-
-
Method Summary
All Methods Instance Methods Abstract 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 @NotNull ConfigurationParameters getParameters(@Nullable @Nullable java.lang.String name)
Allows to retrieve the configuration parameters associated with a givenSecurityConfigurationaccessible by this provider. If the specified name isnullthe global config parameters will be returned.- 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 @NotNull java.lang.Iterable<? extends SecurityConfiguration> getConfigurations()
Returns all availableSecurityConfigurations.- Returns:
- the available
SecurityConfigurations.
-
getConfiguration
@NotNull <T> T getConfiguration(@NotNull @NotNull java.lang.Class<T> configClass)Returns the security configuration of the specifiedconfigClass.- Type Parameters:
T-- Parameters:
configClass- The class of the configuration to retrieve.- Returns:
- The desired security configuration.
-
-