JDBCAuthenticator
public class SwingAuthenticator extends java.lang.Object implements JDBCAuthenticator
Constructor | Description |
---|---|
SwingAuthenticator() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.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.
|
java.awt.Component |
getParentComponent() |
Returns the parent component for this authenticator; this may affect
the positioning of the dialog box.
|
void |
setParentComponent(java.awt.Component parent) |
Sets the parent component for this authenticator; this may affect
the positioning of the dialog box.
|
public void setParentComponent(java.awt.Component parent)
parent
- the parent component for the dialog box -
may be nullpublic java.awt.Component getParentComponent()
public java.lang.String[] authenticate() throws java.io.IOException
authenticate
in interface JDBCAuthenticator
java.io.IOException
- if there is some errorCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.