LoginModule entry
configured for the application specified in the
getAppConfigurationEntry(String appName)
method in the Configuration class. Each respective
AppConfigurationEntry contains a LoginModule name,
a control flag (specifying whether this LoginModule is
REQUIRED, REQUISITE, SUFFICIENT, or OPTIONAL), and LoginModule-specific
options. Please refer to the Configuration class for
more information on the different control flags and their semantics.
javax.security.auth.login.Configuration
| Modifier and Type | Class and Description |
|---|---|
| public static class | AppConfigurationEntry.
This class represents whether a |
| Modifier and Type | Field and Description |
|---|---|
| private final AppConfigurationEntry. | |
| private final String | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | AppConfigurationEntry(String
String representing the class name of the
loginModuleName, AppConfigurationEntry.LoginModule configured for the
specified application.either REQUIRED, REQUISITE, SUFFICIENT,
or OPTIONAL. controlFlag,the options configured for this options)LoginModule.Default constructor for this class. |
| Modifier and Type | Method and Description |
|---|---|
| public AppConfigurationEntry. | Returns: the controlFlag (either REQUIRED, REQUISITE, SUFFICIENT, or OPTIONAL) for thisLoginModule.Return the controlFlag
(either REQUIRED, REQUISITE, SUFFICIENT, or OPTIONAL)
for this |
| public String | Returns: the class name of the configuredLoginModule as
a String.Get the class name of the configured |
| public Map | Returns: the options configured for thisLoginModule
as an unmodifiable Map.Get the options configured for this |
| controlFlag | back to summary |
|---|---|
| private final AppConfigurationEntry. | |
| loginModuleName | back to summary |
|---|---|
| private final String loginModuleName | |
| options | back to summary |
|---|---|
| private final Map<String, ?> options | |
| AppConfigurationEntry | back to summary |
|---|---|
| public AppConfigurationEntry(String loginModuleName, AppConfigurationEntry. Default constructor for this class. This entry represents a single
| |
| getControlFlag | back to summary |
|---|---|
| public AppConfigurationEntry. Return the controlFlag
(either REQUIRED, REQUISITE, SUFFICIENT, or OPTIONAL)
for this
| |
| getLoginModuleName | back to summary |
|---|---|
| public String getLoginModuleName() Get the class name of the configured
| |
| getOptions | back to summary |
|---|---|
| public Map Get the options configured for this | |
LoginModule
is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final AppConfigurationEntry. | OPTIONAL
Optional |
| public static final AppConfigurationEntry. | REQUIRED
Required |
| public static final AppConfigurationEntry. | REQUISITE
Requisite |
| public static final AppConfigurationEntry. | SUFFICIENT
Sufficient |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a String representation of this controlFlag.Overrides java. Return a String representation of this controlFlag. |
| controlFlag | back to summary |
|---|---|
| private final String controlFlag | |
| OPTIONAL | back to summary |
|---|---|
| public static final AppConfigurationEntry. Optional | |
| REQUIRED | back to summary |
|---|---|
| public static final AppConfigurationEntry. Required | |
| REQUISITE | back to summary |
|---|---|
| public static final AppConfigurationEntry. Requisite | |
| SUFFICIENT | back to summary |
|---|---|
| public static final AppConfigurationEntry. Sufficient | |
| LoginModuleControlFlag | back to summary |
|---|---|
| private LoginModuleControlFlag(String controlFlag) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a String representation of this controlFlag. The String has the format, "LoginModuleControlFlag: flag", where flag is either required, requisite, sufficient, or optional.
| |