public class RealmCallback extends TextInputCallback
SaslClient
和
SaslServer
用于检索领域信息。
Constructor and Description |
---|
RealmCallback(String prompt)
构建一个与提示
RealmCallback 。
|
RealmCallback(String prompt, String defaultRealmInfo)
构建一个与提示、默认领域信息
RealmCallback 。
|
public RealmCallback(String prompt)
RealmCallback
。
prompt
-非空提示使用要求领域信息。
IllegalArgumentException
-如果
prompt
是null或空字符串。
public RealmCallback(String prompt, String defaultRealmInfo)
RealmCallback
。
prompt
-非空提示使用要求领域信息。
defaultRealmInfo
-非零违约领域信息的使用。
IllegalArgumentException
-如果
prompt
是null或空字符串,如果
defaultRealm
是空。
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.