public class SendPamAuthPacket extends AbstractAuthSwitchSendResponsePacket implements InterfaceAuthSwitchSendResponsePacket
Modifier and Type | Class and Description |
---|---|
class |
SendPamAuthPacket.RequestFocusListener
Force focus to input field.
|
authData, packSeq, password
Constructor and Description |
---|
SendPamAuthPacket(ReadPacketFetcher packetFetcher,
String password,
byte[] authData,
int packSeq) |
Modifier and Type | Method and Description |
---|---|
void |
handleResultPacket(ReadPacketFetcher packetFetcher)
Handle response packet.
|
void |
send(OutputStream os)
Send native password stream.
|
public SendPamAuthPacket(ReadPacketFetcher packetFetcher, String password, byte[] authData, int packSeq)
public void send(OutputStream os) throws IOException, QueryException
send
in interface InterfaceSendPacket
os
- database socketIOException
- if a connection error occurQueryException
public void handleResultPacket(ReadPacketFetcher packetFetcher) throws QueryException, IOException
AbstractAuthSwitchSendResponsePacket
handleResultPacket
in interface InterfaceAuthSwitchSendResponsePacket
handleResultPacket
in class AbstractAuthSwitchSendResponsePacket
packetFetcher
- packet fetcherQueryException
- if any functional error occurIOException
- if any connection error occurCopyright © 2016. All rights reserved.