org.mariadb.jdbc.internal.com.send
Class AbstractAuthSwitchSendResponsePacket
java.lang.Object
org.mariadb.jdbc.internal.com.send.AbstractAuthSwitchSendResponsePacket
- All Implemented Interfaces:
- InterfaceAuthSwitchSendResponsePacket, InterfaceSendPacket
- Direct Known Subclasses:
- SendClearPasswordAuthPacket, SendGssApiAuthPacket, SendNativePasswordAuthPacket, SendOldPasswordAuthPacket, SendPamAuthPacket
public abstract class AbstractAuthSwitchSendResponsePacket
- extends Object
- implements InterfaceAuthSwitchSendResponsePacket
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
packSeq
protected int packSeq
authData
protected byte[] authData
password
protected String password
passwordCharacterEncoding
protected String passwordCharacterEncoding
AbstractAuthSwitchSendResponsePacket
public AbstractAuthSwitchSendResponsePacket(int packSeq,
byte[] authData,
String password,
String passwordCharacterEncoding)
- Handle Authentication.
- Parameters:
packSeq
- packet sequenceauthData
- authentication datapassword
- passwordpasswordCharacterEncoding
- password character encoding
handleResultPacket
public void handleResultPacket(PacketInputStream reader)
throws SQLException,
IOException
- Handle response packet.
- Specified by:
handleResultPacket
in interface InterfaceAuthSwitchSendResponsePacket
- Parameters:
reader
- packet fetcher
- Throws:
SQLException
- if any functional error occur
IOException
- if any connection error occur
Copyright © 2017. All rights reserved.