You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by john bryant <br...@gmail.com> on 2005/10/17 21:03:18 UTC
slide questions ????
Hi,
I am new to slide content management framework. Here is what i want for web
based file manager i want for my application:
I want a directory let say "home" containing all the users directory.
let say there are user1 and user2. I want user1 and user2 can access a
folder home/user1 and home/user2 through webdav.
I am not sure how authentication is done in slide but I want security to be
integrated with tomcat security. For example, i want tomcat to access user
name and password from database ( i configured that for simple tomcat
server). but i am not how to integrate tomcat security with slide content
management
framework.Slide bundle comes with enabled slide realm. I want to disable
slide realm and
enable tomcat realm. I am not clear from documentation, how to enable tomcat
realm.
Secondly, while playing with slide, one issue i had was that from
Linux/Unix command if i create a file/ directory, corresponding meta data
file is NOT created ( which is required for file to be visible through
webdav client, specifically I am talking of configuring "My network
places" in windows). In other words,
shell>> touch hello
# there is no metadata file is created for this file.
when i go ( in windows) to "My network places" and see my configured
network I am not able to see hello file ( reason - there is no metadata).
This is my understanding of slide content management framework.
is there any way I can prevent generation of metadata ? Your pointers will
definitely help me
to proceed in right direction.
please help me.
-john
Re: slide questions ????
Posted by john bryant <br...@gmail.com>.
Hi,
I am using slide bundle with tomcat but security is currently verified using
domain.xml ( A user only in tomcat is not able to authenticate) where as
user specified in Domain.xml file of slide is able to authenticate. I am not
sure how to integrate tomcat security with it.
john
On 10/18/05, "Honoré David N." <dh...@oma.be> wrote:
>
> john bryant wrote:
>
> Hi,
>
> I am new to slide content management framework. Here is what i want for web
> based file manager i want for my application:
>
>
> Well, Hello, and welcome.
>
> I want a directory let say "home" containing all the users directory.
> let say there are user1 and user2. I want user1 and user2 can access a
> folder home/user1 and home/user2 through webdav.
>
>
> In the ACL (Access Control List) of the node "/home", you can add the
> following rule.
> { object="/home", subject="owner", action="all", inheritable=true,
> negative=false }
>
> Then for each collection under /home, add the property *owner* (namespace
> *"DAV:"*) with the username as value.
>
> I am not sure how authentication is done in slide but I want security to be
> integrated with tomcat security. For example, i want tomcat to access user
> name and password from database ( i configured that for simple tomcat
> server). but i am not how to integrate tomcat security with slide content
> managementframework.Slide bundle comes with enabled slide realm. I want to disable
> slide realm and
> enable tomcat realm. I am not clear from documentation, how to enable tomcat
> realm.
>
>
> Maybe check the Tomcat documentation ...
> Tomcat do the authentification and give to slide a user name (a
> Principal), and Slide trust it. In this cas it is also tomcat which says to
> slide which role the user have.
>
> Secondly, while playing with slide, one issue i had was that from
> Linux/Unix command if i create a file/ directory, corresponding meta data
> file is NOT created ( which is required for file to be visible through
> webdav client, specifically I am talking of configuring "My network
> places" in windows). In other words,
> shell>> touch hello
> # there is no metadata file is created for this file.
> when i go ( in windows) to "My network places" and see my configured
> network I am not able to see hello file ( reason - there is no metadata).
> This is my understanding of slide content management framework.
> is there any way I can prevent generation of metadata ? Your pointers will
> definitely help me
> to proceed in right direction.
> please help me.
>
>
> What do you use as Store ? File Content store ? The store files can not be
> updated from outside slide. If you want to create a file in the repository
> you need to create it in webdav.
> If you want to be able to use linux shell command like touch, take a look
> at davfs ( http://dav.sourceforge.net/ )
>
> -john
>
>
>
> --
>
> ------------------------------
> Honoré David N.
> Projet DISSCO (http://www.meteo.be/DISSCO/)
>
> email: dho@oma.be
> tel: 02 37 30 530
> ------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
>
Re: slide questions ????
Posted by john bryant <br...@gmail.com>.
Thanks David. See, I feel documentation of slide very inadequate. can you
please tell me specifacally which file you are suggesting me to modify. For
example, i read following page of wikipedia....no mention about where to set
the settings ?
http://wiki.apache.org/jakarta-slide/Security
thanks a lot
john
On 10/18/05, "Honoré David N." <dh...@oma.be> wrote:
>
> john bryant wrote:
>
> Hi,
>
> I am new to slide content management framework. Here is what i want for web
> based file manager i want for my application:
>
> Well, Hello, and welcome.
>
> I want a directory let say "home" containing all the users directory.
> let say there are user1 and user2. I want user1 and user2 can access a
> folder home/user1 and home/user2 through webdav.
>
> In the ACL (Access Control List) of the node "/home", you can add the
> following rule.
> { object="/home", subject="owner", action="all", inheritable=true,
> negative=false }
>
> Then for each collection under /home, add the property *owner* (namespace
> *"DAV:"*) with the username as value.
>
> I am not sure how authentication is done in slide but I want security to be
> integrated with tomcat security. For example, i want tomcat to access user
> name and password from database ( i configured that for simple tomcat
> server). but i am not how to integrate tomcat security with slide content
> management
> framework.Slide bundle comes with enabled slide realm. I want to disable
> slide realm and
> enable tomcat realm. I am not clear from documentation, how to enable tomcat
> realm.
>
> Maybe check the Tomcat documentation ...
> Tomcat do the authentification and give to slide a user name (a
> Principal), and Slide trust it. In this cas it is also tomcat which says to
> slide which role the user have.
>
> Secondly, while playing with slide, one issue i had was that from
> Linux/Unix command if i create a file/ directory, corresponding meta data
> file is NOT created ( which is required for file to be visible through
> webdav client, specifically I am talking of configuring "My network
> places" in windows). In other words,
> shell>> touch hello
> # there is no metadata file is created for this file.
> when i go ( in windows) to "My network places" and see my configured
> network I am not able to see hello file ( reason - there is no metadata).
> This is my understanding of slide content management framework.
> is there any way I can prevent generation of metadata ? Your pointers will
> definitely help me
> to proceed in right direction.
> please help me.
>
> What do you use as Store ? File Content store ? The store files can not
> be updated from outside slide. If you want to create a file in the
> repository you need to create it in webdav.
> If you want to be able to use linux shell command like touch, take a look
> at davfs ( http://dav.sourceforge.net/ )
>
> -john
>
>
> --
>
> ------------------------------
> Honoré David N.
> Projet DISSCO (http://www.meteo.be/DISSCO/)
>
> email: dho@oma.be
> tel: 02 37 30 530
> ------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
>
Re: slide questions ????
Posted by "Honoré David N." <dh...@oma.be>.
john bryant wrote:
>Hi,
>
>I am new to slide content management framework. Here is what i want for web
>based file manager i want for my application:
>
>
Well, Hello, and welcome.
>I want a directory let say "home" containing all the users directory.
>let say there are user1 and user2. I want user1 and user2 can access a
>folder home/user1 and home/user2 through webdav.
>
>
In the ACL (Access Control List) of the node "/home", you can add the
following rule.
{ object="/home", subject="owner", action="all", inheritable=true,
negative=false }
Then for each collection under /home, add the property */owner/*
(namespace /"DAV:"/) with the username as value.
>I am not sure how authentication is done in slide but I want security to be
>integrated with tomcat security. For example, i want tomcat to access user
>name and password from database ( i configured that for simple tomcat
>server). but i am not how to integrate tomcat security with slide content
>management
>framework.Slide bundle comes with enabled slide realm. I want to disable
>slide realm and
>enable tomcat realm. I am not clear from documentation, how to enable tomcat
>realm.
>
>
Maybe check the Tomcat documentation ...
Tomcat do the authentification and give to slide a user name (a
Principal), and Slide trust it. In this cas it is also tomcat which says
to slide which role the user have.
>Secondly, while playing with slide, one issue i had was that from
>Linux/Unix command if i create a file/ directory, corresponding meta data
>file is NOT created ( which is required for file to be visible through
>webdav client, specifically I am talking of configuring "My network
>places" in windows). In other words,
>shell>> touch hello
># there is no metadata file is created for this file.
>when i go ( in windows) to "My network places" and see my configured
>network I am not able to see hello file ( reason - there is no metadata).
>This is my understanding of slide content management framework.
>is there any way I can prevent generation of metadata ? Your pointers will
>definitely help me
>to proceed in right direction.
>please help me.
>
>
What do you use as Store ? File Content store ? The store files can not
be updated from outside slide. If you want to create a file in the
repository you need to create it in webdav.
If you want to be able to use linux shell command like touch, take a
look at davfs ( http://dav.sourceforge.net/ )
>-john
>
>
--
------------------------------------------------------------------------
Honoré David N.
Projet DISSCO (http://www.meteo.be/DISSCO/)
email: dho@oma.be
tel: 02 37 30 530
------------------------------------------------------------------------