Class SendGssApiAuthPacket
java.lang.Object
org.mariadb.jdbc.plugin.authentication.addon.SendGssApiAuthPacket
- All Implemented Interfaces:
AuthenticationPlugin
GSSAPI plugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final GssapiAuthprivate final Stringprivate final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProcess gssapi plugin authentication.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AuthenticationPlugin
hash, isMitMProof
-
Field Details
-
gssapiAuth
-
seed
private final byte[] seed -
optionServicePrincipalName
-
-
Constructor Details
-
SendGssApiAuthPacket
Initialization.- Parameters:
seed- server provided seedconf- Connection string options
-
-
Method Details
-
process
public ReadableByteBuf process(Writer out, Reader in, Context context, boolean sslFingerPrintValidation) 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 streamcontext- contextsslFingerPrintValidation- true if SSL certificate fingerprint validation is enabled- Returns:
- response packet
- Throws:
IOException- if socket errorSQLException- if plugin exception
-