com.amazon.redshift.sspi.ISSPIClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redshift-jdbc42 Show documentation
Show all versions of redshift-jdbc42 Show documentation
Java JDBC 4.2 (JRE 8+) driver for Redshift database
The newest version!
/*
* Copyright (c) 2003, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
// Copyright (c) 2004, Open Cloud Limited.
package com.amazon.redshift.sspi;
import java.io.IOException;
import java.sql.SQLException;
/**
* Use Waffle-JNI to support SSPI authentication when RsJDBC is running on a Windows
* client and talking to a Windows server.
*
* SSPI is not supported on a non-Windows client.
*/
public interface ISSPIClient {
boolean isSSPISupported();
void startSSPI() throws SQLException, IOException;
void continueSSPI(int msgLength) throws SQLException, IOException;
void dispose();
}