I've extended the JCRAuthenticationModule and created an LdapAuthenticationModule class that utilizes Sun's LdapLoginModule that is included with Java 6. We are able to authenticate users against our LDAP server now for Magnolia and the JCRAuthorizationModule is still in tact for the authorization part.
I wasn't able to get Magnolia running with Java 6 (I'm assuming issues with Derby), but I figured since Java is now open source I could utilize the necessary classes from Java 6 in Java 5 and not get into any legal issues. Not sure if it would work with 1.4 or not. I'd be happy to post it up on the wiki but don't seem to have a username and password. If it is of interest to anyone I can post the class source along with instructions of how to configure things. Not sure if it will work with 3.0, but if it is using the same jaas setup it should work the same (assuming the JCRAuthenticationModule hasn't changed significantly between the two versions). Tom ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
