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(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 GSSAPI_CLIENT
public static final String DIALOG
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 © 2017. All rights reserved.