Class StandardGssapiAuthentication
java.lang.Object
org.mariadb.jdbc.plugin.authentication.addon.gssapi.StandardGssapiAuthentication
- All Implemented Interfaces:
GssapiAuth
Basic GSSAPI implementation if waffle is not on classpath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(Writer out, Reader in, String servicePrincipalName, String mechanisms) Process default GSS plugin authentication.
-
Constructor Details
-
StandardGssapiAuthentication
public StandardGssapiAuthentication()
-
-
Method Details
-
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
-