Class MySQLAuthenticationEngine
java.lang.Object
org.apache.shardingsphere.proxy.frontend.mysql.authentication.MySQLAuthenticationEngine
- All Implemented Interfaces:
AuthenticationEngine
Authentication engine for MySQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(io.netty.channel.ChannelHandlerContext context, org.apache.shardingsphere.db.protocol.payload.PacketPayload payload) inthandshake(io.netty.channel.ChannelHandlerContext context)
-
Constructor Details
-
MySQLAuthenticationEngine
public MySQLAuthenticationEngine()
-
-
Method Details
-
handshake
public int handshake(io.netty.channel.ChannelHandlerContext context) - Specified by:
handshakein interfaceAuthenticationEngine
-
authenticate
public AuthenticationResult authenticate(io.netty.channel.ChannelHandlerContext context, org.apache.shardingsphere.db.protocol.payload.PacketPayload payload) - Specified by:
authenticatein interfaceAuthenticationEngine
-