public class NativePasswordPlugin extends Object implements AuthenticationPlugin
Constructor and Description |
---|
NativePasswordPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String authenticationData,
byte[] seed,
Options options)
Initialized data.
|
String |
name()
Authentication plugin name.
|
Buffer |
process(PacketOutputStream out,
PacketInputStream in,
AtomicInteger sequence)
Process native password plugin authentication.
|
String |
type()
Authentication plugin type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mustUseSsl
public static final String TYPE
public String name()
AuthenticationPlugin
name
in interface AuthenticationPlugin
public String type()
AuthenticationPlugin
type
in interface AuthenticationPlugin
public void initialize(String authenticationData, byte[] seed, Options options)
initialize
in interface AuthenticationPlugin
authenticationData
- authentication data (password/token)seed
- server provided seedoptions
- Connection string optionspublic Buffer process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) throws IOException
process
in interface AuthenticationPlugin
out
- out streamin
- in streamsequence
- packet sequenceIOException
- if socket errorCopyright © 2020 mariadb.com. All rights reserved.