I hope someone has done what I am trying to do and can give me some insight
and direction.  Thanks in advance.

I am using Slide 2.2, JBoss 401 and openldap.  The webapp user logins in
using the jbossloginmodule and the username/password gets checked against
openldap (normal webapp login).  The user is now logged in the webapp.
When the user uploads a file I get a WebDAVConnection but the
username/password is hardcoded to something I setup in Slide.  I am now
replacing slide auth with ldap auth.  Since the webapp and slide can both
use ldap I would like to make this work.  Any suggestions on how I can get
the username/password from my webapp/ldap and pass it in as the parameter
for the WebDAVConnection call?  It is more of a webapp/ldap question but
figure if someone has already done this setup they would be able to help
me.  We are using JBoss/openLDAP as outlined in this developer.com article
with code.  http://www.developer.com/java/ejb/article.php/3077421

I have seen the example (JNDI-Domain.xml) and setup my domain.xml to use
JNDIPrincipalStore for users and roles.  When my webapp loads slide.war it
connects using the parameters I have specified (I fixed the exceptions and
warnings when it was trying to connect).

Next question:
The webapp dynamically creates the directory structure.  In domain.xml I am
setting the top level directory "/files" to have read/write for all roles.
I want to be more specific for directories below the top level.  I want
everyone to be able to read but only certain users/roles to be able to
write/edit, can I do this dynamically and how?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to