Package javax.security.auth.callback

Interface Summary
Callback sample code for javax.security.auth.callback.Callback definition code for javax.security.auth.callback.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 sample code for javax.security.auth.callback.CallbackHandler definition code for javax.security.auth.callback.CallbackHandler An application implements a CallbackHandler and 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 Summary
ChoiceCallback sample code for javax.security.auth.callback.ChoiceCallback definition code for javax.security.auth.callback.ChoiceCallback Underlying security services instantiate and pass a ChoiceCallback to the handle method of a CallbackHandler to display a list of choices and to retrieve the selected choice(s).
ConfirmationCallback sample code for javax.security.auth.callback.ConfirmationCallback definition code for javax.security.auth.callback.ConfirmationCallback Underlying security services instantiate and pass a ConfirmationCallback to the handle method of a CallbackHandler to ask for YES/NO, OK/CANCEL, YES/NO/CANCEL or other similar confirmations.
LanguageCallback sample code for javax.security.auth.callback.LanguageCallback definition code for javax.security.auth.callback.LanguageCallback Underlying security services instantiate and pass a LanguageCallback to the handle method of a CallbackHandler to retrieve the Locale used for localizing text.
NameCallback sample code for javax.security.auth.callback.NameCallback definition code for javax.security.auth.callback.NameCallback Underlying security services instantiate and pass a NameCallback to the handle method of a CallbackHandler to retrieve name information.
PasswordCallback sample code for javax.security.auth.callback.PasswordCallback definition code for javax.security.auth.callback.PasswordCallback Underlying security services instantiate and pass a PasswordCallback to the handle method of a CallbackHandler to retrieve password information.
TextInputCallback sample code for javax.security.auth.callback.TextInputCallback definition code for javax.security.auth.callback.TextInputCallback Underlying security services instantiate and pass a TextInputCallback to the handle method of a CallbackHandler to retrieve generic text information.
TextOutputCallback sample code for javax.security.auth.callback.TextOutputCallback definition code for javax.security.auth.callback.TextOutputCallback Underlying security services instantiate and pass a TextOutputCallback to the handle method of a CallbackHandler to display information messages, warning messages and error messages.
 

Exception Summary
UnsupportedCallbackException sample code for javax.security.auth.callback.UnsupportedCallbackException definition code for javax.security.auth.callback.UnsupportedCallbackException Signals that a CallbackHandler does not recognize a particular Callback.