I think this can be done but it will require some work. Use the DBSecurityService to configure roles, permissions and groups. Use the LDAPUserManager to access users in LDAP. You will not be using TURBINE_USER. Users will be stored in the LDAP server. Users in LDAP are associated with roles and groups using an integer id. My recomendations would be to start with a vanilla DBSecurityService and DBUserManager and then change to the LDAPUserManager. Additionally you will have to write code to add a default role when a user doesn't have one. -- Humberto
> -----Original Message----- > From: Fred [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 7:22 PM > To: [EMAIL PROTECTED] > Subject: How to integrate LDAP with Turbine's own DB security service? > > > Hi, > I am looking for an example TurbineResources.properties, > code, instructions and/or tips on integrating LDAP security > service with DBSecurityService. Essentially I want LDAP to > handle user authentication and DBSecurityService to handle > application-level user authorization. If an user passes > authentication but not defined in TURBINE_USER, then the user > will be added to the table with proper default role (I can > program that). > I believe this is a very common requirement for any > real-world enterprise application. > Any advise is appreciated, especially from hand-on experience. > Thanks! > > Fred > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
