javax.security.auth.callback
Interface Callback

All Known Implementing Classes:
AuthorizeCallback sample code for javax.security.sasl.AuthorizeCallback definition code for javax.security.sasl.AuthorizeCallback , ChoiceCallback sample code for javax.security.auth.callback.ChoiceCallback definition code for javax.security.auth.callback.ChoiceCallback , ConfirmationCallback sample code for javax.security.auth.callback.ConfirmationCallback definition code for javax.security.auth.callback.ConfirmationCallback , LanguageCallback sample code for javax.security.auth.callback.LanguageCallback definition code for javax.security.auth.callback.LanguageCallback , NameCallback sample code for javax.security.auth.callback.NameCallback definition code for javax.security.auth.callback.NameCallback , PasswordCallback sample code for javax.security.auth.callback.PasswordCallback definition code for javax.security.auth.callback.PasswordCallback , RealmCallback sample code for javax.security.sasl.RealmCallback definition code for javax.security.sasl.RealmCallback , RealmChoiceCallback sample code for javax.security.sasl.RealmChoiceCallback definition code for javax.security.sasl.RealmChoiceCallback , TextInputCallback sample code for javax.security.auth.callback.TextInputCallback definition code for javax.security.auth.callback.TextInputCallback , TextOutputCallback sample code for javax.security.auth.callback.TextOutputCallback definition code for javax.security.auth.callback.TextOutputCallback

public interface 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.

Callback implementations do not retrieve or display the information requested by underlying security services. Callback implementations simply provide the means to pass such requests to applications, and for applications, if appropriate, to return requested information back to the underlying security services.

See Also:
CallbackHandler sample code for javax.security.auth.callback.CallbackHandler definition code for javax.security.auth.callback.CallbackHandler , ChoiceCallback sample code for javax.security.auth.callback.ChoiceCallback definition code for javax.security.auth.callback.ChoiceCallback , ConfirmationCallback sample code for javax.security.auth.callback.ConfirmationCallback definition code for javax.security.auth.callback.ConfirmationCallback , LanguageCallback sample code for javax.security.auth.callback.LanguageCallback definition code for javax.security.auth.callback.LanguageCallback , NameCallback sample code for javax.security.auth.callback.NameCallback definition code for javax.security.auth.callback.NameCallback , PasswordCallback sample code for javax.security.auth.callback.PasswordCallback definition code for javax.security.auth.callback.PasswordCallback , TextInputCallback sample code for javax.security.auth.callback.TextInputCallback definition code for javax.security.auth.callback.TextInputCallback , TextOutputCallback sample code for javax.security.auth.callback.TextOutputCallback definition code for javax.security.auth.callback.TextOutputCallback