Class OpenSecurityProvider

    • Constructor Detail

      • OpenSecurityProvider

        public OpenSecurityProvider()
    • Method Detail

      • getParameters

        @NotNull
        public @NotNull ConfigurationParameters getParameters​(@Nullable
                                                              @Nullable 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 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.