Class OldPasswordPlugin
java.lang.Object
org.mariadb.jdbc.internal.com.send.authentication.OldPasswordPlugin
- All Implemented Interfaces:
AuthenticationPlugin
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]
cryptOldFormatPassword
(String password, String seed) private long[]
hashPassword
(String password) process
(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) Process old password plugin authentication.private double
-
Field Details
-
password
-
authData
private byte[] authData
-
-
Constructor Details
-
OldPasswordPlugin
-
-
Method Details
-
process
public Buffer process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) throws IOException Process old password plugin authentication. see https://mariadb.com/kb/en/library/authentication-plugin-mysql_old_password/- Specified by:
process
in interfaceAuthenticationPlugin
- Parameters:
out
- out streamin
- in streamsequence
- packet sequence- Returns:
- response packet
- Throws:
IOException
- if socket error
-
cryptOldFormatPassword
-
random
-
hashPassword
-