Michael Perkonigg <michael.perkonigg <at> liland.at> writes: > > Hello, > > I'm trying to install an LDAP authentication into my Jetspeed M3. > Now I wonder what user entry I do have to have in my LDAP repository to > be useful for LDAP. > There are some "jetspeed-2-user" entries in my log, do I need a special > scheme for jetspeed to have this objectclass? > > Thanks, > Mike >
Mike, in the package org.apache.jetspeed.security.spi.impl.ldap, the two classes LdapUserPrincipalDaoImpl and LdapUserCredentialDaoImpl have a method called getObjectClass that returns a hard-coded string, "jetspeed-2-user". Your choices are: 1. Override this method in an extension of these classes with your objectclass (eg. if you are using standard Sun ONE, use inetorgperson) and then update the spring configs. 2. Modify the source and make the change directly in these classes. 3. In your LDAP schema, extend the default user object class with one called "jetspeed-2-user". IMHO, this objectclass should be configurable somehow, not hard-coded. But the LDAP stuff is a work in progress. :) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
