Class SendGssApiAuthPacket
- java.lang.Object
-
- org.mariadb.jdbc.internal.com.send.authentication.SendGssApiAuthPacket
-
- All Implemented Interfaces:
AuthenticationPlugin
public class SendGssApiAuthPacket extends Object implements AuthenticationPlugin
-
-
Constructor Summary
Constructors Constructor Description SendGssApiAuthPacket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(String authenticationData, byte[] seed, Options options)Initialization.Stringname()Authentication plugin name.Bufferprocess(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)Process gssapi plugin authentication.Stringtype()Authentication plugin type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mariadb.jdbc.authentication.AuthenticationPlugin
mustUseSsl
-
-
-
-
Method Detail
-
name
public String name()
Description copied from interface:AuthenticationPluginAuthentication plugin name.- Specified by:
namein interfaceAuthenticationPlugin- Returns:
- authentication plugin name. ex: Mysql native password
-
type
public String type()
Description copied from interface:AuthenticationPluginAuthentication plugin type.- Specified by:
typein interfaceAuthenticationPlugin- Returns:
- authentication plugin type. ex: mysql_native_password
-
initialize
public void initialize(String authenticationData, byte[] seed, Options options)
Initialization.- Specified by:
initializein interfaceAuthenticationPlugin- Parameters:
authenticationData- authentication data (password/token)seed- server provided seedoptions- Connection string options
-
process
public Buffer process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence) throws IOException, SQLException
Process gssapi plugin authentication. see https://mariadb.com/kb/en/library/authentication-plugin-gssapi/- Specified by:
processin interfaceAuthenticationPlugin- Parameters:
out- out streamin- in streamsequence- packet sequence- Returns:
- response packet
- Throws:
IOException- if socket errorSQLException- if plugin exception
-
-