I've put a snapshot with the updated modeler/etc on my .Mac account:

   http://homepage.mac.com/blacknext

Notes: This was built on a 1.2 baseline.  I'd copy models to a temp
directory and open/save/etc there just in case I have a bug somewhere.

I've also added a little bit more content to the wiki page:

http://cwiki.apache.org/confluence/display/CAY/Password+Encoding

Thanks,

/dev/mrg

PS. I can add this to the 3.0 baseline at some point if people like it.


On 11/29/06, Michael Gentry <[EMAIL PROTECTED]> wrote:
I've got more of the encoding done.  All reads (and some writes on
save) go through the encoder classes for the JDBC driver adapter.  Two
standard encoders supplied (plain text, rot13), but you can provide
your own.

* Read/write password and save into model.  If using the plain text
encoder, this is just like the current Cayenne.  Although you can use
Rot13/custom and save into the model file, too.

* Read/write password and save to file system.  Puts the password
through the encoder and reads/writes from/to a filename you specify in
the same location as the .xml files.  You can move the external
password file elsewhere at deploy time, though, as long as it is in
the CLASSPATH.

* Read password from URL.  I've tested file: and http: URLs (such as
http://localhost/~mrg/mrg.pw or
file:/Users/mrg/Projects/eclipse/workspace/MySQLTest/src/mrg.pw).
Does not write the password.  If someone twists my arm enough, I might
do it if it begins with file: prefix.

I still haven't added running an external program to obtain the password.

If anyone has thoughts, now would be a good time to add them.  :-)

Thanks!

/dev/mrg

Reply via email to