public class OpenSecurityProvider extends java.lang.Object implements SecurityProvider
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 and Description |
---|
OpenSecurityProvider() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getConfiguration(@NotNull java.lang.Class<T> configClass)
Returns the security configuration of the specified
configClass . |
@NotNull java.lang.Iterable<? extends SecurityConfiguration> |
getConfigurations()
Returns all available
SecurityConfiguration s. |
@NotNull ConfigurationParameters |
getParameters(@Nullable java.lang.String name)
Allows to retrieve the configuration parameters associated with a
given
SecurityConfiguration
accessible by this provider. |
@NotNull public @NotNull ConfigurationParameters getParameters(@Nullable @Nullable java.lang.String name)
SecurityProvider
SecurityConfiguration
accessible by this provider. If the specified name is null
the global config parameters will be returned.getParameters
in interface SecurityProvider
name
- The name
of the security
configuration.SecurityConfiguration
identified by the specified name. If the specified name is null
the global config parameters will be returned.@NotNull public @NotNull java.lang.Iterable<? extends SecurityConfiguration> getConfigurations()
SecurityProvider
SecurityConfiguration
s.getConfigurations
in interface SecurityProvider
SecurityConfiguration
s.@NotNull public <T> T getConfiguration(@NotNull @NotNull java.lang.Class<T> configClass)
SecurityProvider
configClass
.getConfiguration
in interface SecurityProvider
configClass
- The class of the configuration to retrieve.Copyright © 2010 - 2020 Adobe. All Rights Reserved