org.mariadb.jdbc.internal.protocol.authentication
Class DefaultAuthenticationProvider
java.lang.Object
org.mariadb.jdbc.internal.protocol.authentication.DefaultAuthenticationProvider
public class DefaultAuthenticationProvider
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MYSQL_NATIVE_PASSWORD
public static final String MYSQL_NATIVE_PASSWORD
- See Also:
- Constant Field Values
MYSQL_OLD_PASSWORD
public static final String MYSQL_OLD_PASSWORD
- See Also:
- Constant Field Values
MYSQL_CLEAR_PASSWORD
public static final String MYSQL_CLEAR_PASSWORD
- See Also:
- Constant Field Values
GSSAPI_CLIENT
public static final String GSSAPI_CLIENT
- See Also:
- Constant Field Values
DIALOG
public static final String DIALOG
- See Also:
- Constant Field Values
DefaultAuthenticationProvider
public DefaultAuthenticationProvider()
processAuthPlugin
public static InterfaceAuthSwitchSendResponsePacket processAuthPlugin(PacketInputStream reader,
String plugin,
String password,
byte[] authData,
int seqNo,
String passwordCharacterEncoding)
throws SQLException
- Process AuthenticationSwitch.
- Parameters:
reader
- packet fetcherplugin
- plugin namepassword
- passwordauthData
- auth dataseqNo
- packet sequence numberpasswordCharacterEncoding
- password character encoding
- Returns:
- authentication response according to parameters
- Throws:
SQLException
- if error occur.
Copyright © 2017. All rights reserved.