Re: [Rife-users] LDAP using jLDAP and RIFE credential manager

2007-04-16 Thread Eskil Lauritsen
Hi, Geert In addition to LDAPUsers.java and LDAPUsersFactory.java, what more files do we need? Do we need a LDAPAuthenticatedDeployer.java and LDAPAuthenticated.java too? Also, which XML-file do we use for the setting of the properties? main.xml? Just like any element? element id=LDAPUsers

[Rife-users] rife-crud jars with nightly rife 1.6 build

2007-04-16 Thread Henk
Hi, I'm trying out Rife 1.6 nightly build 20070413. When starting my app, this gives a problem with some Rife-CRUD participants : SEVERE: java.lang.NullPointerException at com.uwyn.rife.crud.CrudSiteProcessor.buildAdminSubsite (CrudSiteProcessor.java:154) at

[Rife-users] MD5 hex encryption

2007-04-16 Thread Jeremy Cowgar
Greetings! I have a project that is accessing a user db that uses the common MD5 () function found in SQL servers like MySQL and PostgreSQL. It appears as though RIFEs MD5 implementation gets the base64 of the bytes returned by java's MessageDigest. I wrote up an encryption method that is

[Rife-users] Database Relations

2007-04-16 Thread Jeremy Cowgar
How do I setup my POJOs to take advantage of my MetaData that has manyToOne style relationships? Do I simply add non-persisted attributes of the values I want to attach and then on the Select query do joinInner's? Jeremy ___ Rife-users mailing

[Rife-users] Logging SQL statements?

2007-04-16 Thread Jeremy Cowgar
Is there a way I can make RIFE log the SQL it generates? Jeremy ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

Re: [Rife-users] Logging SQL statements?

2007-04-16 Thread Geert Bevin
Sure, set the config param SQL_DEBUG_TRACE to true, or 1. On 17 Apr 2007, at 01:58, Jeremy Cowgar wrote: Is there a way I can make RIFE log the SQL it generates? Jeremy ___ Rife-users mailing list Rife-users@uwyn.com

Re: [Rife-users] rife-crud jars with nightly rife 1.6 build

2007-04-16 Thread Geert Bevin
Hi Henk, thanks for reporting this. The manyToOne support is evolving atm, so that's why this isn't working. I'll look into it. Take care, Geert On 16 Apr 2007, at 21:46, Henk wrote: Hi, I'm trying out Rife 1.6 nightly build 20070413. When starting my app, this gives a problem with

Re: [Rife-users] MD5 hex encryption

2007-04-16 Thread Geert Bevin
Thanks for this Jeremy, actually for any code to be committed, I need a test that asserts the behavior. Could you add what's needed to src/unittests/com/uwyn/rife/ tools/TestStringEncryptor.java and make sure the new assertions succeed. Thanks, Geert On 16 Apr 2007, at 22:36, Jeremy

Re: [Rife-users] MD5 hex encryption

2007-04-16 Thread Jeremy Cowgar
OK, I added the test. Here's the new diff: Index: src/unittests/com/uwyn/rife/tools/TestStringEncryptor.java === --- src/unittests/com/uwyn/rife/tools/TestStringEncryptor.java (revision 3717) +++