public class SendGssApiAuthPacket extends AbstractAuthSwitchSendResponsePacket implements InterfaceAuthSwitchSendResponsePacket
authData, packSeq, password, passwordCharacterEncoding
Constructor and Description |
---|
SendGssApiAuthPacket(PacketInputStream reader,
String password,
byte[] authData,
int packSeq,
String passwordCharacterEncoding) |
Modifier and Type | Method and Description |
---|---|
void |
handleResultPacket(PacketInputStream reader)
Handle response packet.
|
void |
send(PacketOutputStream pos)
Send native password stream.
|
public SendGssApiAuthPacket(PacketInputStream reader, String password, byte[] authData, int packSeq, String passwordCharacterEncoding)
public void send(PacketOutputStream pos) throws IOException, SQLException
send
in interface InterfaceSendPacket
pos
- database socketIOException
- if a connection error occurSQLException
public void handleResultPacket(PacketInputStream reader) throws SQLException, IOException
AbstractAuthSwitchSendResponsePacket
handleResultPacket
in interface InterfaceAuthSwitchSendResponsePacket
handleResultPacket
in class AbstractAuthSwitchSendResponsePacket
reader
- packet fetcherSQLException
- if any functional error occurIOException
- if any connection error occurCopyright © 2017. All rights reserved.