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

Quick Search    Search Deep

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

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

public class DefaultCallbackHandler
extends AbstractCallbackHandler

This trivial implementation of CallbackHandler sets its Callback arguments to default values, with no user interaction.


Field Summary
 
Fields inherited from class gnu.javax.security.auth.callback.AbstractCallbackHandler
messages
 
Constructor Summary
DefaultCallbackHandler()
           
 
Method Summary
protected  void handleChoice(javax.security.auth.callback.ChoiceCallback c)
          Handles a javax.security.auth.callback.ChoiceCallback.
protected  void handleConfirmation(javax.security.auth.callback.ConfirmationCallback c)
          Handles a javax.security.auth.callback.ConfirmationCallback.
protected  void handleLanguage(javax.security.auth.callback.LanguageCallback c)
          Handles a javax.security.auth.callback.LanguageCallback.
protected  void handleName(javax.security.auth.callback.NameCallback c)
          Handles a javax.security.auth.callback.NameCallback.
protected  void handlePassword(javax.security.auth.callback.PasswordCallback c)
          Handles a javax.security.auth.callback.PasswordCallback.
protected  void handleTextInput(javax.security.auth.callback.TextInputCallback c)
          Handles a javax.security.auth.callback.TextInputCallback.
protected  void handleTextOutput(javax.security.auth.callback.TextOutputCallback c)
          Handles a javax.security.auth.callback.TextOutputCallback.
 
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

DefaultCallbackHandler

public DefaultCallbackHandler()
Method Detail

handleChoice

protected void handleChoice(javax.security.auth.callback.ChoiceCallback c)
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 c)
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 c)
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 c)
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 c)
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 c)
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 c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.TextOutputCallback.

Specified by:
handleTextOutput in class AbstractCallbackHandler