public class LegacyAuthenticationPlugin extends java.lang.Object implements AuthenticationPlugin
AuthenticationPlugin.AuthStatus| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LEGACY_AUTH_NAME |
static java.lang.String |
LEGACY_PASSWORD_SALT |
| Constructor and Description |
|---|
LegacyAuthenticationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationPlugin.AuthStatus |
authenticate(ClientAuthBlock clientAuthBlock)
Authenticate using the plugin.
|
byte[] |
getClientData() |
java.lang.String |
getName() |
boolean |
hasServerData() |
void |
setServerData(byte[] serverData)
Sets data received from the server.
|
java.lang.String |
toString() |
public static final java.lang.String LEGACY_AUTH_NAME
public static final java.lang.String LEGACY_PASSWORD_SALT
public java.lang.String getName()
getName in interface AuthenticationPluginpublic AuthenticationPlugin.AuthStatus authenticate(ClientAuthBlock clientAuthBlock) throws java.sql.SQLException
AuthenticationPlugin
The data generated by this method should be stored and available for calls from AuthenticationPlugin.getClientData().
The method authenticate may be called multiple times depending on the state of the authentication (as indicated
by the returned AuthenticationPlugin.AuthStatus.
authenticate in interface AuthenticationPluginclientAuthBlock - Client authentication block.java.sql.SQLException - For authentication failurespublic byte[] getClientData()
getClientData in interface AuthenticationPluginAuthenticationPlugin.authenticate(ClientAuthBlock).public void setServerData(byte[] serverData)
AuthenticationPluginsetServerData in interface AuthenticationPluginserverData - Server datapublic boolean hasServerData()
hasServerData in interface AuthenticationPluginpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2017 Jaybird (Firebird JDBC/JCA) team. All rights reserved.