public interface AuthenticationPlugin
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthenticationPlugin.AuthStatus
Status of authentication.
|
| 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 getName()
AuthenticationPlugin.AuthStatus authenticate(ClientAuthBlock clientAuthBlock) throws java.sql.SQLException
The data generated by this method should be stored and available for calls from getClientData().
The method authenticate may be called multiple times depending on the state of the authentication (as indicated
by the returned AuthenticationPlugin.AuthStatus.
clientAuthBlock - Client authentication block.java.sql.SQLException - For authentication failuresbyte[] getClientData()
authenticate(ClientAuthBlock).void setServerData(byte[] serverData)
serverData - Server databoolean hasServerData()
Copyright © 2001-2017 Jaybird (Firebird JDBC/JCA) team. All rights reserved.