public class AppConfigurationEntry extends Object
getAppConfigurationEntry(String appName)方法中指定的应用Configuration配置的单个LoginModule条目。
每个各自的AppConfigurationEntry包含一个LoginModule名称,一个控制标志(指定此LoginModule是否需要,REQUISITE,SUFFICIENT或可选)和LoginModule特定的选项。
有关不同控制标志及其语义的更多信息,请参考Configuration类。
Configuration
| Modifier and Type | Class and Description |
|---|---|
static class |
AppConfigurationEntry.LoginModuleControlFlag
此类表示是否
LoginModule是必需的,REQUISITE,不足或可选的。
|
| Constructor and Description |
|---|
AppConfigurationEntry(String loginModuleName, AppConfigurationEntry.LoginModuleControlFlag controlFlag, Map<String,?> options)
此类的默认构造函数。
|
| Modifier and Type | Method and Description |
|---|---|
AppConfigurationEntry.LoginModuleControlFlag |
getControlFlag()
返回controlFlag(或者REQUIRED,REQUISITE,足够了,或可选)此
LoginModule 。
|
String |
getLoginModuleName()
获取所配置的类名
LoginModule 。
|
Map<String,?> |
getOptions()
获取为此
LoginModule的选项
LoginModule 。
|
public AppConfigurationEntry(String loginModuleName, AppConfigurationEntry.LoginModuleControlFlag controlFlag, Map<String,?> options)
此条目表示为8850333316714类中的getAppConfigurationEntry(String appName)方法中指定的应用Configuration配置的单个LoginModule条目。
loginModuleName -表示的类名的字符串
LoginModule配置为指定的应用程序。
controlFlag - 需要,必要,有效或可选。
options - 为此
LoginModule的选项
LoginModule 。
IllegalArgumentException - 如果
loginModuleName为null,如果
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.