JDBCAuthenticator
public class TextModelsAuthenticator extends java.lang.Object implements JDBCAuthenticator
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 | Description |
---|---|
TextModelsAuthenticator() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public javax.swing.text.Document getUserDocument()
public javax.swing.text.Document getPasswordDocument()
public java.lang.String[] authenticate()
JDBCAuthenticator
authenticate
in interface JDBCAuthenticator
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.