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.