Skip to content

Commit

Permalink
Merge pull request #197 from v-suhame/connectionResiliency
Browse files Browse the repository at this point in the history
Fix KerbAuthentication constructor
  • Loading branch information
Suraiya Hameed authored Mar 13, 2017
2 parents b1474ab + 0ce7b39 commit 52e638c
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 52e638c

Please sign in to comment.