public class DefaultAuthenticationProvider extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MYSQL_CLEAR_PASSWORD |
static String |
MYSQL_ED25519_PASSWORD |
static String |
MYSQL_NATIVE_PASSWORD |
static String |
MYSQL_OLD_PASSWORD |
| Constructor and Description |
|---|
DefaultAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
static InterfaceAuthSwitchSendResponsePacket |
processAuthPlugin(PacketInputStream reader,
String plugin,
String password,
byte[] authData,
int seqNo,
String passwordCharacterEncoding)
Process AuthenticationSwitch.
|
public static final String MYSQL_NATIVE_PASSWORD
public static final String MYSQL_OLD_PASSWORD
public static final String MYSQL_CLEAR_PASSWORD
public static final String MYSQL_ED25519_PASSWORD
public static InterfaceAuthSwitchSendResponsePacket processAuthPlugin(PacketInputStream reader, String plugin, String password, byte[] authData, int seqNo, String passwordCharacterEncoding) throws SQLException
reader - packet fetcherplugin - plugin namepassword - passwordauthData - auth dataseqNo - packet sequence numberpasswordCharacterEncoding - password character encodingSQLException - if error occur.Copyright © 2018 mariadb.org. All rights reserved.