public final class

ConfigSpiFile

extends ConfigurationSpi
java.lang.Object
   ↳ javax.security.auth.login.ConfigurationSpi
     ↳ sun.security.provider.ConfigSpiFile

Class Overview

This class wraps the ConfigFile subclass implementation of Configuration inside a ConfigurationSpi implementation that is available from the SUN provider via the Configuration.getInstance calls.

Summary

Public Constructors
ConfigSpiFile(Configuration.Parameters params)
Protected Methods
AppConfigurationEntry[] engineGetAppConfigurationEntry(String name)
Retrieve the AppConfigurationEntries for the specified name.
void engineRefresh()
Refresh and reload the Configuration.
[Expand]
Inherited Methods
From class javax.security.auth.login.ConfigurationSpi
From class java.lang.Object

Public Constructors

public ConfigSpiFile (Configuration.Parameters params)

Throws
IOException

Protected Methods

protected AppConfigurationEntry[] engineGetAppConfigurationEntry (String name)

Retrieve the AppConfigurationEntries for the specified name.

Parameters
name the name used to index the Configuration.
Returns
  • an array of AppConfigurationEntries for the specified name, or null if there are no entries.

protected void engineRefresh ()

Refresh and reload the Configuration.

This method causes this Configuration object to refresh/reload its contents in an implementation-dependent manner. For example, if this Configuration object stores its entries in a file, calling refresh may cause the file to be re-read.

The default implementation of this method does nothing. This method should be overridden if a refresh operation is supported by the implementation.