类 XAuthenticationProvider
- java.lang.Object
-
- com.mysql.cj.protocol.x.XAuthenticationProvider
-
- 所有已实现的接口:
AuthenticationProvider<XMessage>
public class XAuthenticationProvider extends Object implements AuthenticationProvider<XMessage>
-
-
构造器概要
构造器 构造器 说明 XAuthenticationProvider()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidchangeUser(String userName, String password, String database)Re-authenticates as the given user and passwordvoidconnect(String userName, String password, String database)voidinit(Protocol<XMessage> prot, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor)
-
-
-
方法详细资料
-
init
public void init(Protocol<XMessage> prot, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor)
- 指定者:
init在接口中AuthenticationProvider<XMessage>
-
connect
public void connect(String userName, String password, String database)
- 指定者:
connect在接口中AuthenticationProvider<XMessage>
-
changeUser
public void changeUser(String userName, String password, String database)
从接口复制的说明:AuthenticationProviderRe-authenticates as the given user and password- 指定者:
changeUser在接口中AuthenticationProvider<XMessage>- 参数:
userName- user namepassword- passworddatabase- db name
-
-