public class SendPamAuthPacket extends Object implements AuthenticationPlugin
Constructor and Description |
---|
SendPamAuthPacket() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String authenticationData,
byte[] seed,
Options options)
Initialization.
|
String |
name()
Authentication plugin name.
|
Buffer |
process(PacketOutputStream out,
PacketInputStream in,
AtomicInteger sequence)
Process PAM plugin authentication. see
https://mariadb.com/kb/en/library/authentication-plugin-pam/
|
String |
type()
Authentication plugin type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mustUseSsl
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, SQLException
process
in interface AuthenticationPlugin
out
- out streamin
- in streamsequence
- packet sequenceIOException
- if socket errorSQLException
- if plugin exceptionCopyright © 2020 mariadb.com. All rights reserved.