Class StandardGssapiAuthentication
- java.lang.Object
-
- org.mariadb.jdbc.plugin.authentication.addon.gssapi.StandardGssapiAuthentication
-
- All Implemented Interfaces:
GssapiAuth
public class StandardGssapiAuthentication extends 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, String servicePrincipalName, String mechanisms)
Process default GSS plugin authentication.
-
-
-
Method Detail
-
authenticate
public void authenticate(Writer out, Reader in, String servicePrincipalName, String mechanisms) throws SQLException, IOException
Process default GSS plugin authentication.- Specified by:
authenticate
in interfaceGssapiAuth
- Parameters:
out
- out streamin
- in streamservicePrincipalName
- service principal namemechanisms
- gssapi mechanism- Throws:
IOException
- if socket errorSQLException
- in any Exception occur
-
-