jas.jds.security
Interface PasswordHandler

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
TestPasswordHandler

public interface PasswordHandler
extends java.io.Serializable

Concrete PasswordHandler class should extend this class and collect all required security information (like password, username, etc.), do encoding and return encoded Object. In many cases encoded Object is a String or byte[] Client Framework provides hash entry "clientUser", filled with System.getProperty("user.name") when the _FIRST_ PasswordRequiredException in the current "Reconnect" sequence is received PasswordHandler implementation can redefine "clientUser" entry as well as define any other entries in this hash. Hash is re-initialized at the beginning of every "Reconnect" sequence.


Method Summary
 java.lang.Object getPasswordInfo(java.awt.Component parent, java.util.Hashtable hash)
           
 

Method Detail

getPasswordInfo

public java.lang.Object getPasswordInfo(java.awt.Component parent,
                                        java.util.Hashtable hash)