I sort of missed the context of this thread, but if this has anything to do with storing passwords in jspwiki.properties, consider using the "keychain" feature. The Keychain object is an encrypted file that is meant for storing stuff like this. It is NOT quite configurable yet -- that's coming in the updated InstallActionBean I'm readying for check-in. If it's ok with you, I'll keep a lookout for the updated newSession() method and retrofit it to use the keychain when my changes hit.
But if I got the context wrong, and the SimpleCredentials business has nothing to do with that, never mind then. :) Andrew On Sun, Aug 23, 2009 at 9:23 AM, Janne Jalkanen<[email protected]> wrote: >> * added dummy SimpleCredentials login to ContentManager.newSession() >> this is required since priha 0.1.25 (not sure if this is the >> right place/approach but at least we can run our JUnit tests >> again, >> although still many tests fail (92.15%)) > > Yup, it's the right approach. Actually, it would be best to read them from > jspwiki.properties. > > /Janne >
