Class OpenSecurityProvider

  • All Implemented Interfaces:
    SecurityProvider

    public class OpenSecurityProvider
    extends java.lang.Object
    implements 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.
    See Also:
    OpenAuthenticationConfiguration, OpenAuthorizationConfiguration
    • Constructor Detail

      • OpenSecurityProvider

        public OpenSecurityProvider()
    • 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 given SecurityConfiguration accessible by this provider. If the specified name is null the global config parameters will be returned.
        Specified by:
        getParameters in interface SecurityProvider
        Parameters:
        name - The name of the security configuration.
        Returns:
        The configuration parameters associated with the SecurityConfiguration identified by the specified name. If the specified name is null the global config parameters will be returned.
      • getConfiguration

        @NotNull
        public <T> T getConfiguration​(@NotNull
                                      @NotNull java.lang.Class<T> configClass)
        Description copied from interface: SecurityProvider
        Returns the security configuration of the specified configClass.
        Specified by:
        getConfiguration in interface SecurityProvider
        Parameters:
        configClass - The class of the configuration to retrieve.
        Returns:
        The desired security configuration.