javax.security.auth.login.Configuration.
This object stores the runtime login configuration representation,
and is the amalgamation of multiple static login
configurations that resides in files.
The algorithm for locating the login configuration file(s) and reading their
information into this Configuration object is:
URL pointing to a
login configuration file to be loaded. Read in and load
each configuration.
java.security.auth.login.config
may also be set to a URL pointing to another
login configuration file
(which is the case when a user uses the -D switch at runtime).
If this property is defined, and its use is allowed by the
security property file (the Security property,
policy.allowSystemProperty is set to true),
also load that login configuration.
The configuration syntax supported by this implementation
is exactly that syntax specified in the
javax.security.auth.login.Configuration class. In addition, the
security property policy.expandProperties can be used to control
whether system properties in the configuration file are expanded. If not
set, the default value is true which means that properties will
be expanded.
javax.security.auth.login.LoginContext , security properties
| Modifier and Type | Field and Description |
|---|---|
| private final ConfigFile. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AppConfigurationEntry[] | Returns: an array ofAppConfigurationEntry which correspond to
the stacked configuration of LoginModules for this
application, or null if this application has no configured
LoginModules.the name used to index the applicationName)ConfigurationImplements abstract javax. Retrieve an entry from the |
| public void | refresh()
Overrides javax. Refresh and reload the |
| spi | back to summary |
|---|---|
| private final ConfigFile. | |
| ConfigFile | back to summary |
|---|---|
| public ConfigFile() Create a new
| |
| ConfigFile | back to summary |
|---|---|
| public ConfigFile(URI uri) Create a new
| |
| getAppConfigurationEntry | back to summary |
|---|---|
| public AppConfigurationEntry[] getAppConfigurationEntry(String applicationName) Implements abstract javax. Retrieve an entry from the
| |
| refresh | back to summary |
|---|---|
| public void refresh() Overrides javax. Refresh and reload the
| |