From: Richard G. <rg...@re...> - 2005-04-15 21:22:48
|
I have commented out some lines in WFSDataStore.getConnection() that with Authentication: // synchronized (Authenticator.class) { // Authenticator.setDefault(auth); // connection.connect(); // Authenticator.setDefault(null); // } The setting and unsetting of the default Authenticator destroys the basic authentication system set up now in uDig. Ideally the security manager in uDig will be configured properly to prevent this from occuring, but that is future work. Everyone else needs to play nicely in the meantime :) I have left the rest of the authentication/user-pass bits untouched, as they might be useful if a better solution arises. One idea I had was that the datastore provides a mechanism that allows an authentication object to inquire about any previously entered usernames/passwords. Any other ideas are welcome! Richard |