public class OldPasswordPlugin extends Object implements AuthenticationPlugin
| Constructor and Description |
|---|
OldPasswordPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(String authenticationData,
byte[] seed,
Options options)
Plugin initialization.
|
String |
name()
Authentication plugin name.
|
Buffer |
process(PacketOutputStream out,
PacketInputStream in,
AtomicInteger sequence)
Process old password plugin authentication.
|
String |
type()
Authentication plugin type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmustUseSslpublic static final String TYPE
public String name()
AuthenticationPluginname in interface AuthenticationPluginpublic String type()
AuthenticationPlugintype in interface AuthenticationPluginpublic void initialize(String authenticationData, byte[] seed, Options options)
AuthenticationPlugininitialize in interface AuthenticationPluginauthenticationData - authentication data (password/token)seed - 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 © 2022 oceanbase.com. All rights reserved.