Class StandardGssapiAuthentication
- java.lang.Object
-
- org.mariadb.jdbc.plugin.authentication.addon.gssapi.StandardGssapiAuthentication
-
- All Implemented Interfaces:
GssapiAuth
public class StandardGssapiAuthentication extends java.lang.Object implements GssapiAuth
Basic GSSAPI implementation if waffle is not on classpath
-
-
Constructor Summary
Constructors Constructor Description StandardGssapiAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authenticate(Writer out, Reader in, java.lang.String servicePrincipalName, java.lang.String mechanisms)
Process default GSS plugin authentication.
-
-
-
Method Detail
-
authenticate
public void authenticate(Writer out, Reader in, java.lang.String servicePrincipalName, java.lang.String mechanisms) throws java.sql.SQLException, java.io.IOException
Process default GSS plugin authentication.- Specified by:
authenticate
in interfaceGssapiAuth
- Parameters:
out
- out streamin
- in streamservicePrincipalName
- service principal namemechanisms
- gssapi mechanism- Throws:
java.io.IOException
- if socket errorjava.sql.SQLException
- in any Exception occur
-
-