Class SendGssApiAuthPacket

java.lang.Object
org.mariadb.jdbc.plugin.authentication.addon.SendGssApiAuthPacket
All Implemented Interfaces:
AuthenticationPlugin

public class SendGssApiAuthPacket extends Object implements AuthenticationPlugin
GSSAPI plugin
  • Constructor Details

    • SendGssApiAuthPacket

      public SendGssApiAuthPacket(byte[] seed, Configuration conf)
      Initialization.
      Parameters:
      seed - server provided seed
      conf - Connection string options
  • Method Details

    • process

      public org.mariadb.jdbc.client.ReadableByteBuf process(Writer out, Reader in, org.mariadb.jdbc.client.Context context) throws IOException, SQLException
      Process gssapi plugin authentication. see https://mariadb.com/kb/en/library/authentication-plugin-gssapi/
      Specified by:
      process in interface AuthenticationPlugin
      Parameters:
      out - out stream
      in - in stream
      context - context
      Returns:
      response packet
      Throws:
      IOException - if socket error
      SQLException - if plugin exception