public class TextModelsAuthenticator extends 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 and Description |
---|
TextModelsAuthenticator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Document getUserDocument()
public Document getPasswordDocument()
public String[] authenticate()
JDBCAuthenticator
null
.authenticate
in interface JDBCAuthenticator
String[]{username,password}
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.