Some links to point you at: The JNDIPrincipalStore http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java?rev=1.2&view=auto An example Domain.xml file http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/conf/webapp/JNDI-Domain.xml?rev=1.2&view=auto
You'll only need to use this if you have group membership information in LDAP that you want to take advantage of in Slide. If you can manage permissions internally within Slide then auto-create-users might be enough for you. Another thing to consider is you can add some security at the webapp level. You're going to need to specify a role (LDAP group if you're using the JNDIRealm) that has access to the webapp. If only faculty should have access you can restrict everyone else at that point. Then you don't need to get Slide to talk to LDAP. This might be faster if you're trying to get something setup for a demo. -James >>> [EMAIL PROTECTED] 7/7/2004 11:48:16 AM >>> James Mason wrote: >James, > >This depends on what level of integration you need between LDAP and >Slide. > >To get *authentication* working, you need to configure your app server >to authenticate users against LDAP. If you're using Tomcat 5 have a look >at >http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#JNDIRealm. >I was never able to get the JNDIRealm working with Tomcat 4, but it's >been shipping with Tomcat since 4.0.6 (I believe) so it's supposed to >work. If you're using a different app server you'll have to check the >documentation for that server. > > I have the JndiRealm working for Tomcat5, as I have it working fine with webdav, but to get it working with slide will be a bit more problematic, as I need to figure out which file(s) to modify, whether just changing web.xml would be fine or if I need to change Domains.xml also. Also, we would need to have it take into account roles, as just faculty should be able to have folders. I am trying to understand how to get this to work so I can demo it to my co-workers and we can decide if we want to continue on this path of trying to integrate slide into our system. Thank you for the response. I will look at the CVS repository for the /users and /roles nodes. -- "Love is mutual self-giving that ends in self-recovery." Fulton Sheen James Black [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
