java.lang.Object | ||
↳ | javax.security.auth.login.Configuration | |
↳ | org.springframework.security.authentication.jaas.memory.InMemoryConfiguration |
An in memory representation of a JAAS configuration. The constructor accepts a Map where the key represents the name of the login context name and the value is an Array of AppConfigurationEntry for that login context name. A default Array of AppConfigurationEntrys can be specified which will be returned if a login context is specified which is undefined.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance with only a defaultConfiguration.
| |||||||||||
Creates a new instance with a mapping of login context name to an array
of
AppConfigurationEntry s. | |||||||||||
Creates a new instance with a mapping of login context name to an array
of
AppConfigurationEntry s along with a default configuration that
will be used if no mapping is found for the given login context name. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Does nothing, but required for JDK5
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.security.auth.login.Configuration
| |||||||||||
From class
java.lang.Object
|
Creates a new instance with only a defaultConfiguration. Any configuration name will result in defaultConfiguration being returned.
defaultConfiguration | The result for any calls to
getAppConfigurationEntry(String) . Can be
null .
|
---|
Creates a new instance with a mapping of login context name to an array
of AppConfigurationEntry
s.
mappedConfigurations | each key represents a login context name and each value is an
Array of AppConfigurationEntry s that should be used.
|
---|
Creates a new instance with a mapping of login context name to an array
of AppConfigurationEntry
s along with a default configuration that
will be used if no mapping is found for the given login context name.
mappedConfigurations | each key represents a login context name and each value is an
Array of AppConfigurationEntry s that should be used. |
---|---|
defaultConfiguration | The result for any calls to
getAppConfigurationEntry(String) . Can be
null .
|
Does nothing, but required for JDK5