SPT Core API

com.sptci.auth
Class PasswordKeyCallback

java.lang.Object
  extended by javax.security.auth.callback.PasswordCallback
      extended by com.sptci.auth.PasswordKeyCallback
All Implemented Interfaces:
Serializable, Callback

public class PasswordKeyCallback
extends PasswordCallback

A simple sub-class of PasswordCallback used to represent the key used to encrypt a password value.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: PasswordKeyCallback.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Nikhil 2007-09-13
See Also:
Serialized Form

Constructor Summary
PasswordKeyCallback(String prompt, boolean echoOn)
          Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.
 
Method Summary
 
Methods inherited from class javax.security.auth.callback.PasswordCallback
clearPassword, getPassword, getPrompt, isEchoOn, setPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordKeyCallback

public PasswordKeyCallback(String prompt,
                           boolean echoOn)
Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.

Parameters:
prompt - The prompt used to request the password.
echoOn - true if the password should be displayed as it is being typed
See Also:
PasswordCallback

SPT Core API