|
|||||||||
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 | |
---|---|
String[] |
authenticate()
Obtains username and password. |
Document |
getPasswordDocument()
Returns the text model for the password string. |
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 Document getUserDocument()
public Document getPasswordDocument()
public String[] authenticate()
JDBCAuthenticator
authenticate
in interface JDBCAuthenticator
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |