public class ClearPasswordPlugin extends Object implements AuthenticationPlugin
| Constructor and Description |
|---|
ClearPasswordPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(String authenticationData,
byte[] authData,
Options options)
Plugin initialization.
|
boolean |
mustUseSsl()
Indicate if use of this plugins need SSL enabled.
|
String |
name()
Authentication plugin name.
|
Buffer |
process(PacketOutputStream out,
PacketInputStream in,
AtomicInteger sequence)
Send password in clear text to server.
|
String |
type()
Authentication plugin type.
|
public static final String TYPE
public String name()
AuthenticationPluginname in interface AuthenticationPluginpublic String type()
AuthenticationPlugintype in interface AuthenticationPluginpublic boolean mustUseSsl()
AuthenticationPluginmustUseSsl in interface AuthenticationPluginpublic void initialize(String authenticationData, byte[] authData, Options options)
AuthenticationPlugininitialize in interface AuthenticationPluginauthenticationData - authentication data (password/token)authData - server provided seedoptions - Connection string optionspublic Buffer process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) throws IOException
process in interface AuthenticationPluginout - out streamin - in streamsequence - packet sequenceIOException - if socket errorCopyright © 2020 mariadb.com. All rights reserved.