Interface GssapiAuth

    • Method Detail

      • authenticate

        void authenticate​(Writer writer,
                          Reader in,
                          String servicePrincipalName,
                          String mechanisms)
                   throws IOException,
                          SQLException
        Authenticate
        Parameters:
        writer - socket writer
        in - socket reader
        servicePrincipalName - SPN
        mechanisms - mechanisms
        Throws:
        IOException - if any socket error occurs
        SQLException - for any other type of errors