FileDocCategorySizeDatePackage
RealmCallback.javaAPI DocJava SE 5 API1445Fri Aug 26 14:57:48 BST 2005javax.security.sasl

RealmCallback

public class RealmCallback extends TextInputCallback
This callback is used by SaslClient and SaslServer to retrieve realm information.
since
1.5
author
Rosanna Lee
author
Rob Weltman

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public RealmCallback(String prompt)
Constructs a RealmCallback with a prompt.

param
prompt The non-null prompt to use to request the realm information.
throws
IllegalArgumentException If prompt is null or the empty string.

	super(prompt);
    
public RealmCallback(String prompt, String defaultRealmInfo)
Constructs a RealmCallback with a prompt and default realm information.

param
prompt The non-null prompt to use to request the realm information.
param
defaultRealmInfo The non-null default realm information to use.
throws
IllegalArgumentException If prompt is null or the empty string, or if defaultRealm is empty or null.

	super(prompt, defaultRealmInfo);
    
Methods Summary