Uses of Interface
javax.security.auth.callback.Callback
Package
Description
Provides an implementation of
CallbackHandler
.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).
Contains class and interfaces for supporting SASL.
-
Uses of Callback in com.sun.security.auth.callback
-
Uses of Callback in javax.security.auth.callback
Modifier and TypeClassDescriptionclass
Underlying security services instantiate and pass aChoiceCallback
to thehandle
method of aCallbackHandler
to display a list of choices and to retrieve the selected choice(s).class
Underlying security services instantiate and pass aConfirmationCallback
to thehandle
method of aCallbackHandler
to ask for YES/NO, OK/CANCEL, YES/NO/CANCEL or other similar confirmations.class
Underlying security services instantiate and pass aLanguageCallback
to thehandle
method of aCallbackHandler
to retrieve theLocale
used for localizing text.class
Underlying security services instantiate and pass aNameCallback
to thehandle
method of aCallbackHandler
to retrieve name information.class
Underlying security services instantiate and pass aPasswordCallback
to thehandle
method of aCallbackHandler
to retrieve password information.class
Underlying security services instantiate and pass aTextInputCallback
to thehandle
method of aCallbackHandler
to retrieve generic text information.class
Underlying security services instantiate and pass aTextOutputCallback
to thehandle
method of aCallbackHandler
to display information messages, warning messages and error messages.Modifier and TypeMethodDescriptionUnsupportedCallbackException.getCallback()
Get the unrecognizedCallback
.Modifier and TypeMethodDescriptionvoid
Retrieve or display the information requested in the provided Callbacks.ModifierConstructorDescriptionUnsupportedCallbackException
(Callback callback) Constructs anUnsupportedCallbackException
with no detail message.UnsupportedCallbackException
(Callback callback, String msg) Constructs a UnsupportedCallbackException with the specified detail message. -
Uses of Callback in javax.security.sasl
Modifier and TypeClassDescriptionclass
This callback is used bySaslServer
to determine whether one entity (identified by an authenticated authentication id) can act on behalf of another entity (identified by an authorization id).class
This callback is used bySaslClient
andSaslServer
to retrieve realm information.class
This callback is used bySaslClient
andSaslServer
to obtain a realm given a list of realm choices.