| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Callback | |
|---|---|
| javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). | 
| javax.security.sasl | Contains class and interfaces for supporting SASL. | 
| Uses of Callback in javax.security.auth.callback | 
|---|
| Classes in javax.security.auth.callback that implement Callback | |
|---|---|
|  class | ChoiceCallbackUnderlying security services instantiate and pass a ChoiceCallbackto thehandlemethod of aCallbackHandlerto display a list of choices
 and to retrieve the selected choice(s). | 
|  class | ConfirmationCallbackUnderlying security services instantiate and pass a ConfirmationCallbackto thehandlemethod of aCallbackHandlerto ask for YES/NO,
 OK/CANCEL, YES/NO/CANCEL or other similar confirmations. | 
|  class | LanguageCallbackUnderlying security services instantiate and pass a LanguageCallbackto thehandlemethod of aCallbackHandlerto retrieve theLocaleused for localizing text. | 
|  class | NameCallbackUnderlying security services instantiate and pass a NameCallbackto thehandlemethod of aCallbackHandlerto retrieve name information. | 
|  class | PasswordCallbackUnderlying security services instantiate and pass a PasswordCallbackto thehandlemethod of aCallbackHandlerto retrieve password information. | 
|  class | TextInputCallbackUnderlying security services instantiate and pass a TextInputCallbackto thehandlemethod of aCallbackHandlerto retrieve generic text
 information. | 
|  class | TextOutputCallbackUnderlying security services instantiate and pass a TextOutputCallbackto thehandlemethod of aCallbackHandlerto display information messages,
 warning messages and error messages. | 
| Methods in javax.security.auth.callback that return Callback | |
|---|---|
|  Callback | UnsupportedCallbackException.getCallback()Get the unrecognized Callback. | 
| Methods in javax.security.auth.callback with parameters of type Callback | |
|---|---|
|  void | CallbackHandler.handle(Callback[] callbacks)Retrieve or display the information requested in the provided Callbacks. | 
| Constructors in javax.security.auth.callback with parameters of type Callback | |
|---|---|
| UnsupportedCallbackException(Callback callback)Constructs a UnsupportedCallbackExceptionwith no detail message. | |
| UnsupportedCallbackException(Callback callback,
                             String msg)Constructs a UnsupportedCallbackException with the specified detail message. | |
| Uses of Callback in javax.security.sasl | 
|---|
| Classes in javax.security.sasl that implement Callback | |
|---|---|
|  class | AuthorizeCallbackThis callback is used by SaslServer to determine whether one entity (identified by an authenticated authentication id) can act on behalf of another entity (identified by an authorization id). | 
|  class | RealmCallbackThis callback is used by SaslClient and SaslServer to retrieve realm information. | 
|  class | RealmChoiceCallbackThis callback is used by SaslClient and SaslServer to obtain a realm given a list of realm choices. | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.