|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.jdbc.TextModelsAuthenticator
public class TextModelsAuthenticator
JDBC authenticator which keeps its data in the models of text GUI
components (Document
objects).
The advantage of this is that multiple GUI compoents can share
the same data, and changing the password in one will have the effect
of changing it in all.
Constructor Summary | |
---|---|
TextModelsAuthenticator()
Constructor. |
Method Summary | |
---|---|
java.lang.String[] |
authenticate()
Obtains username and password. |
javax.swing.text.Document |
getPasswordDocument()
Returns the text model for the password string. |
javax.swing.text.Document |
getUserDocument()
Returns the text model for the username string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextModelsAuthenticator()
Method Detail |
---|
public javax.swing.text.Document getUserDocument()
public javax.swing.text.Document getPasswordDocument()
public java.lang.String[] authenticate()
JDBCAuthenticator
authenticate
in interface JDBCAuthenticator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |