com.ibm.security.auth.callback
Class DialogCallbackHandler
- java.lang.Object
-
- com.ibm.security.auth.callback.DialogCallbackHandler
-
- All Implemented Interfaces:
- CallbackHandler
Deprecated.This class will be removed in a future release.
@Deprecated public class DialogCallbackHandler extends java.lang.Object implements CallbackHandler
Uses a Swing dialog window to query the user for answers to authentication questions. This can be used by a JAAS application to instantiate a CallbackHandler
- See Also:
javax.security.auth.callback
-
-
Constructor Summary
Constructors Constructor and Description DialogCallbackHandler()
Deprecated.Creates a callback dialog with the default parent window.DialogCallbackHandler(java.awt.Component parentComponent)
Deprecated.Creates a callback dialog and specify the parent window.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description void
handle(Callback[] callbacks)
Deprecated.Handles the specified set of callbacks.
-
-
-
Constructor Detail
-
DialogCallbackHandler
public DialogCallbackHandler()
Deprecated.Creates a callback dialog with the default parent window.
-
DialogCallbackHandler
public DialogCallbackHandler(java.awt.Component parentComponent)
Deprecated.Creates a callback dialog and specify the parent window.- Parameters:
parentComponent
- the parent window -- specifynull
for the default parent
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
Deprecated.Handles the specified set of callbacks.- Specified by:
handle
in interfaceCallbackHandler
- Parameters:
callbacks
- the callbacks to handle- Throws:
UnsupportedCallbackException
- if the callback is not an instance of NameCallback or PasswordCallback
-
-