public class RealmCallback extends TextInputCallback
SaslClient and
SaslServer to retrieve realm information.
| Constructor and Description |
|---|
RealmCallback(String
Constructs a
RealmCallback with a prompt.
|
RealmCallback(String
Constructs a
RealmCallback with a prompt and default realm information.
|
public RealmCallback(Stringprompt)
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(Stringprompt, 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.