--- a/org/postgresql/core/v3/ConnectionFactoryImpl.java Tue Sep 14 23:09:00 2010 +0200 +++ b/org/postgresql/core/v3/ConnectionFactoryImpl.java Tue Sep 14 23:09:53 2010 +0200 @@ -375,6 +375,7 @@ } case AUTH_REQ_GSS: + case AUTH_REQ_SSPI: org.postgresql.gss.MakeGSS.authenticate(pgStream, host, user, password, info.getProperty("jaasApplicationName"), @@ -382,12 +383,6 @@ logger); break; - case AUTH_REQ_SSPI: - if (logger.logDebug()) - logger.debug(" <=BE AuthenticationReqSSPI"); - - throw new PSQLException(GT.tr("SSPI authentication is not supported because it is not portable. Try configuring the server to use GSSAPI instead."), PSQLState.CONNECTION_REJECTED); - case AUTH_REQ_OK: if (logger.logDebug()) logger.debug(" <=BE AuthenticationOk");