Class ClearPasswordPlugin
java.lang.Object
org.mariadb.jdbc.plugin.authentication.addon.ClearPasswordPlugin
- All Implemented Interfaces:
AuthenticationPlugin
Clear password plugin.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSend password in clear text to server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mariadb.jdbc.plugin.AuthenticationPlugin
hash, isMitMProof
-
Field Details
-
authenticationData
-
-
Constructor Details
-
ClearPasswordPlugin
Initialization.- Parameters:
authenticationData
- authentication data (password/token)
-
-
Method Details
-
process
Send password in clear text to server.- Specified by:
process
in interfaceAuthenticationPlugin
- Parameters:
out
- out streamin
- in streamcontext
- context- Returns:
- response packet
- Throws:
IOException
- if socket error
-