Skip to content

Commit

Permalink
Fix KerbAuthentication constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraiya Hameed committed Mar 13, 2017
1 parent b1474ab commit 0ce7b39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ static int GetMaxSSPIBlobSize() {

this.con = con;

System.out.println("connectionResiliencyRequested : "+connectionResiliencyRequested);
if (connectionResiliencyRequested) {
if (reconnecting) {
if (authLogger.isLoggable(Level.FINER)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,17 @@ private String makeSpn(String server,
* @param address
* @param port
* @param ImpersonatedUserCred
* @param reconnecting
* @param loginSubject
* @throws SQLServerException
*/
KerbAuthentication(SQLServerConnection con,
String address,
int port,
GSSCredential ImpersonatedUserCred) throws SQLServerException {
this(con, address, port);
GSSCredential ImpersonatedUserCred,
boolean reconnecting,
Subject loginSubject) throws SQLServerException {
this(con, address, port, reconnecting, loginSubject);
peerCredentials = ImpersonatedUserCred;
}

Expand Down

0 comments on commit 0ce7b39

Please sign in to comment.