| Package | Description | 
|---|---|
| java.security | Provides the classes and interfaces for the security framework. | 
| 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.auth.login | This package provides a pluggable authentication framework. | 
| javax.security.auth.spi | This package provides the interface to be used for
        implementing pluggable authentication modules. | 
| javax.security.sasl | Contains class and interfaces for supporting SASL. | 
| Class and Description | 
|---|
| CallbackHandler  An application implements a  CallbackHandlerand passes
 it to underlying security services so that they may interact with
 the application to retrieve specific authentication data,
 such as usernames and passwords, or to display certain information,
 such as error and warning messages. | 
| Class and Description | 
|---|
| Callback  Implementations of this interface are passed to a
  CallbackHandler, allowing underlying security services
 the ability to interact with a calling application to retrieve specific
 authentication data such as usernames and passwords, or to display
 certain information, such as error and warning messages. | 
| UnsupportedCallbackException Signals that a  CallbackHandlerdoes not
 recognize a particularCallback. | 
| Class and Description | 
|---|
| CallbackHandler  An application implements a  CallbackHandlerand passes
 it to underlying security services so that they may interact with
 the application to retrieve specific authentication data,
 such as usernames and passwords, or to display certain information,
 such as error and warning messages. | 
| Class and Description | 
|---|
| CallbackHandler  An application implements a  CallbackHandlerand passes
 it to underlying security services so that they may interact with
 the application to retrieve specific authentication data,
 such as usernames and passwords, or to display certain information,
 such as error and warning messages. | 
| Class and Description | 
|---|
| Callback  Implementations of this interface are passed to a
  CallbackHandler, allowing underlying security services
 the ability to interact with a calling application to retrieve specific
 authentication data such as usernames and passwords, or to display
 certain information, such as error and warning messages. | 
| CallbackHandler  An application implements a  CallbackHandlerand passes
 it to underlying security services so that they may interact with
 the application to retrieve specific authentication data,
 such as usernames and passwords, or to display certain information,
 such as error and warning messages. | 
| ChoiceCallback  Underlying security services instantiate and pass a
  ChoiceCallbackto thehandlemethod of aCallbackHandlerto display a list of choices
 and to retrieve the selected choice(s). | 
| TextInputCallback  Underlying security services instantiate and pass a
  TextInputCallbackto thehandlemethod of aCallbackHandlerto retrieve generic text
 information. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2013, Oracle and/or its affiliates.  All rights reserved.