public class DefaultAuthenticationProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DIALOG |
static String |
GSSAPI_CLIENT |
static String |
MYSQL_CLEAR_PASSWORD |
static String |
MYSQL_NATIVE_PASSWORD |
static String |
MYSQL_OLD_PASSWORD |
Constructor and Description |
---|
DefaultAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
static InterfaceAuthSwitchSendResponsePacket |
processAuthPlugin(ReadPacketFetcher packetFetcher,
String plugin,
String password,
byte[] authData,
int seqNo)
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 GSSAPI_CLIENT
public static final String DIALOG
public static InterfaceAuthSwitchSendResponsePacket processAuthPlugin(ReadPacketFetcher packetFetcher, String plugin, String password, byte[] authData, int seqNo) throws QueryException
packetFetcher
- packet fetcherplugin
- plugin namepassword
- passwordauthData
- auth dataseqNo
- packet sequence numberQueryException
- if error occur.Copyright © 2016. All rights reserved.