public interface AuthenticationPlugin
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(String authenticationData,
byte[] seed,
Configuration conf)
Plugin initialization.
|
com.singlestore.jdbc.client.ReadableByteBuf |
process(PacketWriter encoder,
PacketReader decoder,
Context context)
Process plugin authentication.
|
String |
type()
Authentication plugin type.
|
String type()
void initialize(String authenticationData, byte[] seed, Configuration conf)
authenticationData - authentication data (password/token)seed - server provided seedconf - Connection optionscom.singlestore.jdbc.client.ReadableByteBuf process(PacketWriter encoder, PacketReader decoder, Context context) throws IOException, SQLException
encoder - out streamdecoder - in streamcontext - connection contextIOException - if socket errorSQLException - if plugin exceptionCopyright © 2022 SingleStore. All rights reserved.