Java In A Nutshell, 5th Edition

Callback javax.security.auth.callback

Java 1.4

This interface defines no methods but serves as a "marker interface" to identify the type of objects that can be passed to the handle( ) method of a CallbackHandler . All of the classes in this package, with the exception of UnsupportedCallbackException implement this interface.

public interface Callback { }

Implementations

ChoiceCallback , ConfirmationCallback , LanguageCallback , NameCallback , PasswordCallback , TextInputCallback , TextOutputCallback

Passed To

CallbackHandler.handle( ) , UnsupportedCallbackException.UnsupportedCallbackException( )

Returned By

UnsupportedCallbackException.getCallback( )

Категории