Hi Andrea, > Read the proposal, looks good, I did not take the time to review the patch > (in a hospital bed waiting for surgery, did not exactly feel like > reviewing a patch > today).
Understandable. Hope things go well. Read the patch for extra sedation ;) > Sorry to perster about REST, but I too have a question. No problem, good questions. > Say I enable encrypted passwords, what do I get back from restconfig > for that store? As it currently is implemented, the encrypted password is returned for both xml and json formats. The html format does not contain the parameters. > Another question is, say I need to add a new store, or change the password of > an existing store. > The rest client won't know how to encrypt the passwords, so it will post them > plain text... what will happen? The StoreInfo receives the plaintext password and is written using the persister. The persister encrypts the password to disk, but the StoreInfo retains the plaintext password for use in connecting. Your question was thought provoking and helped me prevent a bug. A client that PUTs the encrypted password back will corrupt the password since it will be re-encrypted. This is fixed in my local code now, but with one little oddity - the persister will write out the encrypted password but decrypt it for the StoreInfo. This doesn't seem like appropriate persister behavior and it probably belongs in the catalog. Thoughts? > Cheers > Andrea Cheers to you - hope that tendon heals well. -- Ian Schneider OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel