issrg.SAWS.callback
Class SAWSPasswordCallback

java.lang.Object
  extended by issrg.SAWS.callback.SAWSPasswordCallback
All Implemented Interfaces:
java.io.Serializable, javax.security.auth.callback.Callback

public class SAWSPasswordCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback, java.io.Serializable

This class represents a Callback for getting the password from the user.

Version:
1.0, Feb. 2007
Author:
E. Silva
See Also:
Serialized Form

Constructor Summary
SAWSPasswordCallback(java.lang.String prompt, int passwordShares, int currentPasswordShare, boolean echoOn, java.lang.String type)
           
 
Method Summary
 void clearPassword()
           
 int getCurrentPasswordShare()
           
 char[] getPassword()
           
 int getPasswordShares()
           
 java.lang.String getPrompt()
           
 java.lang.String getType()
           
 boolean isEchoOn()
           
 void setPassword(char[] password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAWSPasswordCallback

public SAWSPasswordCallback(java.lang.String prompt,
                            int passwordShares,
                            int currentPasswordShare,
                            boolean echoOn,
                            java.lang.String type)
Method Detail

getPrompt

public java.lang.String getPrompt()

getType

public java.lang.String getType()

getPassword

public char[] getPassword()

setPassword

public void setPassword(char[] password)

getPasswordShares

public int getPasswordShares()

getCurrentPasswordShare

public int getCurrentPasswordShare()

isEchoOn

public boolean isEchoOn()

clearPassword

public void clearPassword()