Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.security.auth.callback
Class SwingCallbackHandler  view SwingCallbackHandler download SwingCallbackHandler.java

java.lang.Object
  extended bygnu.javax.security.auth.callback.AbstractCallbackHandler
      extended bygnu.javax.security.auth.callback.SwingCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public class SwingCallbackHandler
extends AbstractCallbackHandler


Field Summary
 
Fields inherited from class gnu.javax.security.auth.callback.AbstractCallbackHandler
messages
 
Constructor Summary
SwingCallbackHandler()
           
 
Method Summary
protected  void handleChoice(javax.security.auth.callback.ChoiceCallback callback)
          Handles a javax.security.auth.callback.ChoiceCallback.
protected  void handleConfirmation(javax.security.auth.callback.ConfirmationCallback callback)
          Handles a javax.security.auth.callback.ConfirmationCallback.
protected  void handleLanguage(javax.security.auth.callback.LanguageCallback callback)
          Handles a javax.security.auth.callback.LanguageCallback.
protected  void handleName(javax.security.auth.callback.NameCallback callback)
          Handles a javax.security.auth.callback.NameCallback.
protected  void handlePassword(javax.security.auth.callback.PasswordCallback callback)
          Handles a javax.security.auth.callback.PasswordCallback.
protected  void handleTextInput(javax.security.auth.callback.TextInputCallback callback)
          Handles a javax.security.auth.callback.TextInputCallback.
protected  void handleTextOutput(javax.security.auth.callback.TextOutputCallback callback)
          Handles a javax.security.auth.callback.TextOutputCallback.
private  void waitForInput(javax.swing.JDialog dialog, javax.security.auth.callback.Callback callback)
           
 
Methods inherited from class gnu.javax.security.auth.callback.AbstractCallbackHandler
getInstance, getInstance, getInstance, getName, handle, handleOther
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingCallbackHandler

public SwingCallbackHandler()
Method Detail

handleChoice

protected void handleChoice(javax.security.auth.callback.ChoiceCallback callback)
                     throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.ChoiceCallback.

Specified by:
handleChoice in class AbstractCallbackHandler

handleConfirmation

protected void handleConfirmation(javax.security.auth.callback.ConfirmationCallback callback)
                           throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.ConfirmationCallback.

Specified by:
handleConfirmation in class AbstractCallbackHandler

handleLanguage

protected void handleLanguage(javax.security.auth.callback.LanguageCallback callback)
                       throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.LanguageCallback.

Specified by:
handleLanguage in class AbstractCallbackHandler

handleName

protected void handleName(javax.security.auth.callback.NameCallback callback)
                   throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.NameCallback.

Specified by:
handleName in class AbstractCallbackHandler

handlePassword

protected void handlePassword(javax.security.auth.callback.PasswordCallback callback)
                       throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.PasswordCallback.

Specified by:
handlePassword in class AbstractCallbackHandler

handleTextInput

protected void handleTextInput(javax.security.auth.callback.TextInputCallback callback)
                        throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.TextInputCallback.

Specified by:
handleTextInput in class AbstractCallbackHandler

handleTextOutput

protected void handleTextOutput(javax.security.auth.callback.TextOutputCallback callback)
                         throws java.io.IOException
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.TextOutputCallback.

Specified by:
handleTextOutput in class AbstractCallbackHandler

waitForInput

private void waitForInput(javax.swing.JDialog dialog,
                          javax.security.auth.callback.Callback callback)