public class RealmCallback extends TextInputCallback
SaslClient
and SaslServer
to retrieve realm information.Constructor and Description |
---|
RealmCallback(String prompt)
Constructs a
RealmCallback with a prompt. |
RealmCallback(String prompt,
String defaultRealmInfo)
Constructs a
RealmCallback with a prompt and default
realm information. |
public RealmCallback(String prompt)
RealmCallback
with a prompt.prompt
- The non-null prompt to use to request the realm information.IllegalArgumentException
- If prompt
is null or
the empty string.public RealmCallback(String prompt, String defaultRealmInfo)
RealmCallback
with a prompt and default
realm information.prompt
- The non-null prompt to use to request the realm information.defaultRealmInfo
- The non-null default realm information to use.IllegalArgumentException
- If prompt
is null or
the empty string,
or if defaultRealm
is empty or null. 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.