Skip to content

Most visited

Recently visited

Added in API level 1

This package provides classes and interfaces needed to interact with the application in order to execute the authentication and authorization processes. It is a classical callback mechanism: one retrieves information (i.e. for authentication purposes) and one display some messages (for example error messages).

Note that the current implementation of this package is not complete, that is, not compatible with desktop implementations of the Java programming language. It contains only what was needed to make the compiler happy, that is, classes required by other packages.


Callback Defines an empty base interface for all Callbacks used during authentication. 
CallbackHandler Needs to be implemented by classes that want to handle authentication Callbacks. 


PasswordCallback Used in conjunction with a CallbackHandler to retrieve a password when needed. 


UnsupportedCallbackException Thrown when a CallbackHandler does not support a particular Callback
This site uses cookies to store your preferences for site-specific language and display options.


This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.