public class SwingAuthenticator extends Object implements JDBCAuthenticator
| Constructor and Description |
|---|
SwingAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
authenticate()
This implementation of
authenticate takes care to execute
any GUI interactions on the AWT event dipatch thread, so it may
be called from any thread. |
Component |
getParentComponent()
Returns the parent component for this authenticator; this may affect
the positioning of the dialog box.
|
void |
setParentComponent(Component parent)
Sets the parent component for this authenticator; this may affect
the positioning of the dialog box.
|
public void setParentComponent(Component parent)
parent - the parent component for the dialog box -
may be nullpublic Component getParentComponent()
nullpublic String[] authenticate() throws IOException
authenticate takes care to execute
any GUI interactions on the AWT event dipatch thread, so it may
be called from any thread.authenticate in interface JDBCAuthenticatorString[]{username,password}IOException - if there is some errorCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.