public class ClearPasswordPlugin extends Object implements AuthenticationPlugin
| 构造器和说明 |
|---|
ClearPasswordPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 String name()
AuthenticationPluginname 在接口中 AuthenticationPluginpublic String type()
AuthenticationPlugintype 在接口中 AuthenticationPluginpublic boolean mustUseSsl()
AuthenticationPluginmustUseSsl 在接口中 AuthenticationPluginpublic void initialize(String authenticationData, byte[] authData, Options options)
AuthenticationPlugininitialize 在接口中 AuthenticationPluginauthenticationData - authentication data (password/token)authData - server provided seedoptions - Connection string optionspublic Buffer process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) throws IOException
process 在接口中 AuthenticationPluginout - out streamin - in streamsequence - packet sequenceIOException - if socket errorCopyright © 2024 oceanbase.com. All rights reserved.