public class SrpAuthenticationPlugin extends java.lang.Object implements AuthenticationPlugin
AuthenticationPlugin.AuthStatus| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SRP_AUTH_NAME |
| Constructor and Description |
|---|
SrpAuthenticationPlugin() |
| 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 SRP_AUTH_NAME
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.