? mypatch-20100305.diff Index: org/postgresql/Driver.java.in =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/Driver.java.in,v retrieving revision 1.78 diff -r1.78 Driver.java.in 462c462,464 < "Specifies the name of the JAAS system or application login configuration." } --- > "Specifies the name of the JAAS system or application login configuration." }, > { "performJaasLogin", Boolean.FALSE, > "Specifies whether JAAS login should be performed in the driver." } Index: org/postgresql/core/v3/ConnectionFactoryImpl.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/core/v3/ConnectionFactoryImpl.java,v retrieving revision 1.20 diff -r1.20 ConnectionFactoryImpl.java 381a382 > info.getProperty("performJaasLogin"), Index: org/postgresql/gss/MakeGSS.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/gss/MakeGSS.java,v retrieving revision 1.3 diff -r1.3 MakeGSS.java 29c29 < public static void authenticate(PGStream pgStream, String host, String user, String password, String jaasApplicationName, String kerberosServerName, Logger logger) throws IOException, SQLException --- > public static void authenticate(PGStream pgStream, String host, String user, String password, String jaasApplicationName, String kerberosServerName, String performJaasLogin, Logger logger) throws IOException, SQLException 40a41,44 > boolean performJaasLoginFlag = true; > if (performJaasLogin != null) > performJaasLoginFlag = Boolean.parseBoolean(performJaasLogin); > 41a46 > if (performJaasLoginFlag) { 47a53,59 > > lc.logout(); > } > else { > PrivilegedAction action = new GssAction(pgStream, host, user, password, kerberosServerName, logger); > result = action.run(); > }