Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
org.metastatic.jessie

Class ConsolePasswordHandler

java.lang.Object
|
+--org.metastatic.jessie.ConsolePasswordHandler

All Implemented Interfaces:

CallbackHandler


public class ConsolePasswordHandler

extends java.lang.Object

implements CallbackHandler

A simple callback handler for password callbacks, which prompts the user for a password on the console. This implementation cannot disable echoing of characters, and is meant to be used as a fallback default when no other implementation is available.

Method Summary

voidhandle(Callback[] callbacks)

A simple callback handler for password callbacks, which prompts the user for a password on the console.

Method Details

handle

public void handle(Callback[] callbacks)

A simple callback handler for password callbacks, which prompts the user for a password on the console. This implementation cannot disable echoing of characters, and is meant to be used as a fallback default when no other implementation is available.

Parameters: