public interface AuthenticationPlugin
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(String authenticationData,
byte[] seed,
Options options)
Plugin initialization.
|
default boolean |
mustUseSsl()
Indicate if use of this plugins need SSL enabled.
|
String |
name()
Authentication plugin name.
|
Buffer |
process(PacketOutputStream out,
PacketInputStream in,
AtomicInteger sequence)
Process plugin authentication.
|
String |
type()
Authentication plugin type.
|
String name()
String type()
default boolean mustUseSsl()
void initialize(String authenticationData, byte[] seed, Options options)
authenticationData - authentication data (password/token)seed - server provided seedoptions - Connection string optionsBuffer process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) throws IOException, SQLException
out - out streamin - in streamsequence - packet sequenceIOException - if socket errorSQLException - if plugin exceptionCopyright © 2022 oceanbase.com. All rights reserved.