issrg.SAWS.callback
Class SAWSPasswordCallback
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAWSPasswordCallback
public SAWSPasswordCallback(java.lang.String prompt,
int passwordShares,
int currentPasswordShare,
boolean echoOn,
java.lang.String type)
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()