All LDAP Classes
Internal LDAP Classes

com.novell.sasl
Class RealmCallback

java.lang.Object
  |
  +--javax.security.auth.callback.TextInputCallback
        |
        +--com.novell.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

Field Summary
 
Fields inherited from class javax.security.auth.callback.TextInputCallback
 
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

All LDAP Classes
Internal LDAP Classes

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