public class AppConfigurationEntry extends Object
LoginModule条目配置为在
Configuration类在
getAppConfigurationEntry(String appName)方法指定的应用程序。每个
AppConfigurationEntry包含
LoginModule名称、控制标志(指定是否
LoginModule是必需的,必要的,足够的,或可选),和登录选项。请参阅
Configuration类在不同控制标志和它们的语义的更多信息。
Configuration
| Modifier and Type | Class and Description |
|---|---|
static class |
AppConfigurationEntry.LoginModuleControlFlag
这类表示是否
LoginModule是必需的,必要的,足够的或可选的。
|
| Constructor and Description |
|---|
AppConfigurationEntry(String loginModuleName, AppConfigurationEntry.LoginModuleControlFlag controlFlag, Map<String,?> options)
此类的默认构造函数。
|
| Modifier and Type | Method and Description |
|---|---|
AppConfigurationEntry.LoginModuleControlFlag |
getControlFlag()
返回controlflag(无论是必需的,必要的,足够的,或可选)这
LoginModule。
|
String |
getLoginModuleName()
得到的配置
LoginModule类名。
|
Map<String,?> |
getOptions()
得到这个
LoginModule配置选项。
|
public AppConfigurationEntry(String loginModuleName, AppConfigurationEntry.LoginModuleControlFlag controlFlag, Map<String,?> options)
这项代表一个LoginModule项配置中指定getAppConfigurationEntry(String appName)方法从Configuration课中的应用。
loginModuleName字符串表示的
LoginModule配置为指定的应用程序类的名称。
controlFlag -无论是必需的,必要的,足够的,或可选。
LoginModule
options配置选项。
IllegalArgumentException -如果
loginModuleName是无效的,如果
LoginModuleName长度为0,如果
controlFlag不是必需的,必要的,足够的或可选的,或者如果
options是空的。
public String getLoginModuleName()
LoginModule类名。
LoginModule类名作为字符串。
public AppConfigurationEntry.LoginModuleControlFlag getControlFlag()
LoginModule。
LoginModule。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.