Class SendGssApiAuthPacket
java.lang.Object
org.mariadb.jdbc.plugin.authentication.addon.SendGssApiAuthPacket
- All Implemented Interfaces:
AuthenticationPlugin
GSSAPI plugin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProcess gssapi plugin authentication.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.plugin.AuthenticationPlugin
hash, isMitMProof
-
Field Details
-
gssapiAuth
-
seed
private 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) throws IOException, SQLException Process gssapi plugin authentication. see https://mariadb.com/kb/en/library/authentication-plugin-gssapi/- Specified by:
process
in interfaceAuthenticationPlugin
- Parameters:
out
- out streamin
- in streamcontext
- context- Returns:
- response packet
- Throws:
IOException
- if socket errorSQLException
- if plugin exception
-