Class MySQLNativePasswordAuthenticator
- java.lang.Object
-
- org.apache.shardingsphere.proxy.frontend.mysql.authentication.authenticator.impl.MySQLNativePasswordAuthenticator
-
- All Implemented Interfaces:
Authenticator,MySQLAuthenticator
public final class MySQLNativePasswordAuthenticator extends Object implements MySQLAuthenticator
Native password authenticator for MySQL.- See Also:
- Native Authentication
-
-
Constructor Summary
Constructors Constructor Description MySQLNativePasswordAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthenticate(org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser user, Object[] authInfo)org.apache.shardingsphere.db.protocol.constant.AuthenticationMethodgetAuthenticationMethod()
-
-
-
Method Detail
-
authenticate
public boolean authenticate(org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser user, Object[] authInfo)- Specified by:
authenticatein interfaceAuthenticator
-
getAuthenticationMethod
public org.apache.shardingsphere.db.protocol.constant.AuthenticationMethod getAuthenticationMethod()
- Specified by:
getAuthenticationMethodin interfaceAuthenticator
-
-