LDAP Classes
Implements Java LDAP

com.novell.security.sasl
Class RealmCallback

java.lang.Object
  extended byjavax.security.auth.callback.TextInputCallback
      extended bycom.novell.security.sasl.RealmCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback, java.io.Serializable

public class RealmCallback
extends javax.security.auth.callback.TextInputCallback

This callback is used by SaslClient and SaslServer to retrieve realm information.

See Also:
Serialized Form

Constructor Summary
RealmCallback(java.lang.String prompt)
          Constructs a RealmCallback with a prompt.
RealmCallback(java.lang.String prompt, java.lang.String defaultRealm)
          Constructs a RealmCallback with a prompt and a default realm.
 
Methods inherited from class javax.security.auth.callback.TextInputCallback
getDefaultText, getPrompt, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealmCallback

public RealmCallback(java.lang.String prompt)
              throws java.lang.IllegalArgumentException
Constructs a RealmCallback with a prompt.

Parameters:
prompt - The non-null prompt to use to request the realm information
Throws:
java.lang.IllegalArgumentException - If prompt is Null or Empty

RealmCallback

public RealmCallback(java.lang.String prompt,
                     java.lang.String defaultRealm)
              throws java.lang.IllegalArgumentException
Constructs a RealmCallback with a prompt and a default realm.

Parameters:
prompt - The non-null prompt to use to request the realm information
defaultRealm - The non-null default realm to use
Throws:
java.lang.IllegalArgumentException - If prompt is Null or Empty , or if defaultRealm is empty or null

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000