Re: Adding a user without updating the group-member-set

2005-07-11 Thread James Mason
By default I believe the Slide realm requires that a user be a member of the root, user or guest role. To get the behavior you want you're going to need to change the realm somehow. Either configure the webapp to allow any valid user (may or may not be possible), modify the Slide realm to behave th

Re: New user question: using Slide API

2005-07-08 Thread James Mason
Ken, Check out the links on the left side of http://jakarta.apache.org/slide/ The wiki has some code examples using the client api, and the mailing lists link has a link to the archive site for the mailing list. -James On Fri, 2005-07-08 at 12:51 -0700, Kenneth Stoutzenberger wrote: > Hi, > >

Re: slide and JSR

2005-05-09 Thread James Mason
The Jackrabbit project has been started to continue with that codebase. As far as I know, it's alive and kicking. http://incubator.apache.org/jackrabbit/ -James On Thu, 2005-04-21 at 12:42 +0200, Martin KalÃn wrote: > Ethem YUKSEL wrote: > > Hi to all, > > does slide support JSR specification or

Re: Configuring storage location for tomcat 5.5 webapp

2005-03-28 Thread James Mason
Henrik You need to modify the "rootpath" and "workpath" parameters for your store in the WEB-INF/Domain.xml file. See the Wiki for more detailed instructions. -James On Sat, 2005-03-26 at 22:50 +, Henrik Vendelbo wrote: > I want to modify the default webdav app in Tomcat 5.5 to storing info

Re: Testsuite

2005-03-16 Thread James Mason
There's some documentation in CVS along with the sources. I don't know how complete it is. If you don't want to check out a working copy you can view it at http://cvs.apache.org/viewcvs.cgi/jakarta-slide/testsuite/ -James On Wed, 2005-03-16 at 11:03 +0300, Denis Zvonov wrote: > Hi guys, > > Are

RE: LDAP Connection Error

2005-03-11 Thread James Mason
005 4:14 PM > Subject: RE: LDAP Connection Error > > > There isn't much to say. I just follow the instructions I found in the > comment block of the source code and the postings to the user group. There > was nothing too special for AD. > > Here is a link to a postin

RE: LDAP Connection Error

2005-02-24 Thread James Mason
ta2 version of > JNDIPrincipalStore or do we need to upgrade verything? > > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 11:36 AM > To: Slide Users Mailing List > Subject: Re: LDAP Connection Error > &

Re: LDAP Connection Error

2005-02-24 Thread James Mason
John, What version of Slide are you using? From 2.1beta2 on the JNDIPrincipalStore should be able to handle broken connections gracefully. -James On Thu, 2005-02-24 at 10:33 -0500, John Gilbert wrote: > I am using the JNDIPrincipalStore to connect to Active Directory to > retrieve Users and Role

Re: Configuring a principal store

2005-02-10 Thread James Mason
Your second example is correct. The securitystore is for controlling access to the nodes from that store. So in this case it would hold permissions for who is allowed to view information about your users (or roles). You can see an example config in CVS: http://cvs.apache.org/viewcvs.cgi/jakarta-sl

Re: WCK NPE with litmus

2005-02-07 Thread James Mason
erence implementation. > Well he said it "should" be fixed. hmm... "should" doesn't mean "had" > I wonder if patch got lost on the way or something. > > > John Rousseau wrote: > > I thought James Mason submitted a patch for this recently (h

Re: NPE with commandline client using options

2005-02-01 Thread James Mason
Brian, The command line client is rather brittle. Try doing an "open http://url..."; then calling options on "." or whatever your path is. -James On Tue, 2005-02-01 at 18:27 -0800, Brian Moseley wrote: > got an NPE using the options command of the commandline > client built with a checkout from

Re: White spaces are required between publicId and systemId.

2005-01-29 Thread James Mason
Do a google search with that error message. It's probably related to version of xerces you're using and the response you're getting back from your search. -James On Sun, 2005-01-30 at 00:55 +0530, IndianAtTech wrote: > Hi All, > > (White spaces are required between publicId and sys

Re: [litmus] Litmus propget problem

2005-01-22 Thread James Mason
This should be fixed in Slide HEAD now. -James On Fri, 2005-01-14 at 09:31 +0100, Julian Reschke wrote: > James Mason wrote: > > It looks like Slide's current logic goes something like this: > > > > Get the name of the first child of the element. > > if (the n

Re: Create an ACE which is not inheritable (programmatically) ?

2005-01-22 Thread James Mason
20:18 +0900, Carlos Villegas wrote: > James Mason wrote: > > Short answer: you can't. > > > > Not as short answer: the WebDAV ACL spec doesn't define a way to set the > > inheritance of a permission. It's left as an implementation detail on > > th

Re: Create an ACE which is not inheritable (programmatically) ?

2005-01-21 Thread James Mason
Short answer: you can't. Not as short answer: the WebDAV ACL spec doesn't define a way to set the inheritance of a permission. It's left as an implementation detail on the server. I suppose we could add an extension in Slide, but it would be non-standard. -James On Fri, 2005-01-21 at 12:16 -0500

Re: If resource is Writable by Principal, must Principal have Read access up to Root node ?

2005-01-21 Thread James Mason
I've heard of behavior where you can read a child resource if you don't have access to the parent. I haven't fully investigated it, but I believe one of my users has setup some permissions like that and it's working for him. -James On Fri, 2005-01-21 at 18:52 +0100, Oliver Zeigermann wrote: > AFA

Re: Slide authentication with LDAP and ApacheDS

2005-01-20 Thread James Mason
I can't see anything that would be causing that exception, but here are a few things to try: 1) Use Tomcat's JNDIRealm for authentication rather than the JAAS module. The JNDIPrincipalStore doesn't expose a password attribute for users, so the JAAS module won't work (this is by design). 2) Double

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
On Wed, 2005-01-19 at 10:13 +0900, Carlos Villegas wrote: > James Mason wrote: > > Is it possible to get a *list* of users and roles from JAAS? I think > > that's something that would be needed to be compatible with WebDAV ACL > > spec. > > Mmm... I don't thi

Re: [Fwd: Re: [VOTE][release] [ApacheDS] 0.8]

2005-01-18 Thread James Mason
Awesome. :) -James On Wed, 2005-01-19 at 02:11 +, Jason Harrop wrote: > Further to my previous post about Apache directory server as a > java-based LDAP server which could complement Slide, it looks like > they're ready for a release. > > Original Message > Date: Tue, 18

Re: MKCOL method when using acl_inheritance=none - fails (403)

2005-01-18 Thread James Mason
This could be a bug. Since you have inheritance off you don't have "write" access to the new node you're creating. I think I remember seeing something similar awhile ago. I don't know if it was fixed. -James On Tue, 2005-01-18 at 16:49 -0500, Nick Longinow wrote: > Hi > > I've got my acl inherit

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
On Tue, 2005-01-18 at 17:53 +0100, [EMAIL PROTECTED] wrote: > Hi Jason, > > First of all, I want to thank you for your prompt and clear answers! > Thanks! > > > LDAP is a good candidate for this. It is a standard and fairly well > > supported, so integrating third-party applications should be ea

RE: ldap securitystore

2005-01-18 Thread James Mason
Thanks > John > > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 11:09 AM > To: Slide Users Mailing List > Subject: Re: ldap securitystore > > You're right about the documentation not being on th

Re: CreateThread Function Fails

2005-01-18 Thread James Mason
Jeff, Are you sure you sent this to the right list? -James On Tue, 2005-01-18 at 07:27 -0700, J H wrote: > Hi All! I'd appreciate any help on this!! I found a page asking about > this problem, but unfortunately, no replies as to how it was fixed. > > I left Tomcat 4.1.27 running last night

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
On Tue, 2005-01-18 at 15:40 +0100, [EMAIL PROTECTED] wrote: > Hi, > > > I think it will be better if I summarize what I am trying to do: > > -Thousands of users and roles/groups are already defined at ldap. > > -There is an application using slide as backend, it accesses slide > > using webdav. Us

Re: ldap securitystore

2005-01-18 Thread James Mason
You're right about the documentation not being on the Wiki. For now you can look at the javadocs in CVS: http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java?rev=1.9&view=auto I'm currently running Slide with a JNDIPrincipalStore for user

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
Is it possible to get a *list* of users and roles from JAAS? I think that's something that would be needed to be compatible with WebDAV ACL spec. -James On Wed, 2005-01-19 at 00:34 +0900, Carlos Villegas wrote: > There seems to be the need for a JAAS store! > > There is a Slide JAAS login module

Re: Getting the folders List from WebDav url

2005-01-17 Thread James Mason
You might be able to do this with a DASL search, but I don't know of any way to limit a PROPFIND like that. -James On Mon, 2005-01-17 at 14:56 +0530, IndianAtTech wrote: > Hello Friends, > > In oder to get the folders list, I am working something like below > > java.io.File folders[] = we

Re: the mystery of root

2005-01-17 Thread James Mason
Best guess is that none of the other users have permissions granted to them. Take a look at http://wiki.apache.org/jakarta-slide/DataNode since it might help a little. The default Domain.xml grants all permissions to a user named "root". What you're going to need to do is grant the "write" permissi

Re: ldap securitystore

2005-01-17 Thread James Mason
The SecurityStore interface in Slide is for storing the mapping between principal (user/group/role), node (URI, basically) and permission (read, write, etc). It is very unlikely that you currently have this information stored in a LDAP repository, since the "node" portion of a permission is very un

Re: Exchange Form-Based-Authentication with webdav

2005-01-16 Thread James Mason
The HTTPClient in Slide should handle cookie state for you. Take a look at Microsoft's website for VB and C# example for interacting with Exchange. It shouldn't be too hard to translate the examples into Java using the Slide clientlib. -James On Tue, 2005-01-04 at 15:48 -0600, Gutman, Larry wrote

Re: How to customize Slide's HTML output?

2005-01-16 Thread James Mason
You'll need to modify DirectoryIndexGenerator. I thought I saw mention somewhere of providing custom xslts to modify the output, but looking at the code I don't see anything to make me think the output is modifiable through configuration. -James On Sun, 2005-01-09 at 14:12 +0200, Roman D wrote: >

Re: problem configuring simple example JAAS Authentication

2005-01-16 Thread James Mason
> > I had a closer look at the code, and from what I could see, if i set this and > the role correctly in the Domain.xml, then when I try to do a .getPrincipal > the user will be auto created with the default role. > > Is that what you are alluding to when you say the 'sli

Re: 500 - Internal Server Error on accessing slide resource

2005-01-16 Thread James Mason
, so maybe it's not able to access it when it's in WEB-INF? -James On Fri, 2005-01-14 at 18:47 -0600, Scott Carr wrote: > Yes, there was. Thanks. > > It is giving me a PathException error. Where does files, users, etc > paths need to be created? > > James Mason wro

Re: Loading from http://slideslide?

2005-01-14 Thread James Mason
Do you need to be using Slide 1? There's a larger community for Slide 2.x, so it will be easier to get help if you can upgrade. If you can't upgrade, hopefully there's someone around here who's familiar with Slide 1 :). -James On Fri, 2005-01-14 at 09:30 +0100, Carl Seleborg wrote: > Hello, peop

Re: 500 - Internal Server Error on accessing slide resource

2005-01-14 Thread James Mason
Is there another stack trace in the log before that? Maybe on stderr? -James On Fri, 2005-01-14 at 17:00 -0600, Scott Carr wrote: > I am getting the following error now: > > javax.servlet.ServletException: java.lang.NullPointerException > org.apache.slide.webdav.WebdavServlet.init(WebdavSe

Re: [litmus] Litmus propget problem

2005-01-13 Thread James Mason
It looks like Slide's current logic goes something like this: Get the name of the first child of the element. if (the name is "propname") return a list of property names else if (the name is "prop" or "allprop") return properties else throw an exception It should be easy enough to loop through a

Re: Question - is ACL negotiation unchangeable w/ competing rights ?

2005-01-13 Thread James Mason
>From a security standpoint the concept of an all-powerful admin is a bad thing. The new ACL-type implementations I've seen seem to moving to a more localized security policy where it's easier to control who has access to a resource and it's easier to contain a security breach (since no one account

Re: Problems with special character "+"

2005-01-13 Thread James Mason
'+' is considered to be a space character when it appears in a URL. You should be able to escape it by using %2B in your PUT request. -James On Thu, 2005-01-13 at 17:33 -0500, Jagadeesh Sunkara wrote: > When I tried to create a file/folder with "+" character like for example > "one+two" slide cre

Re: Question - is ACL negotiation unchangeable w/ competing rights ?

2005-01-13 Thread James Mason
On Fri, 2005-01-14 at 10:11 +1100, Michael Smith wrote: ... snip ... > Now, a client can _also_ use a request for the acl property on a > resource to figure out what permissions the user has. So it's possible > (though somewhat tricky) to figure out whether the user would be able to > write the

Re: blocking/removing unwanted files

2005-01-13 Thread James Mason
For cleanup purposes you could implement an event listener that: 1) when a file is deleted looks for a ._meta file and removes it 2) when a file is moved looks for a ._meta file and moves it For hiding the files from other clients, maybe some sort of filter that hides the ._meta files based on U

Re: problem configuring simple example JAAS Authentication

2005-01-13 Thread James Mason
Slide needs to be able to enumerate all of the available roles in order to be WebDAV compliant. JAAS integration works great for *authentication*, but when it comes to authorization Slide uses other methods for discovering role memberships. If you want to provide your own Security implementation th

Re: blocking/removing unwanted files

2005-01-13 Thread James Mason
Maybe a servlet that maps to ._* that always responds to every request with 200? Then the OSX client would think everything was dandy (whether putting or getting) but the requests would never get to Slide. -James On Tue, 2005-01-04 at 10:26 +0100, Karl Ãie wrote: > > You mean you implemented a ev

Re: WebdavResource getChildResources() : Directory Listing

2004-12-30 Thread James Mason
get me by for now. If I have time I will try and trace down what the > exact problem is. > > James Mason wrote: > > >Well, based on the traces this certainly looks like a bug in the Slide > >client library. Maybe it's getting confused by the duplicate namespaces, >

Re: Slide/WCK does not run if included into a project/classpath

2004-12-29 Thread James Mason
Tomcat has its own classloader that will load any .class file under /WEB-INF/classes and any .jar file under /WEB-INF/lib in to the classpath of . To include your classes in the sample application, either put your .class files into slide/WEB-INF/classes or build a jar and put it in slide/WEB-INF/li

Re: WebdavResource getChildResources() : Directory Listing

2004-12-29 Thread James Mason
perties). Note that > NetDrive connects and displays the resources as expected. Maybe the > properties for which Subversion is returning 404 on is throwing the > Slide library off? > > James Mason wrote: > > >Can you post traces for the request and response? > > > &g

Re: Slide & CVS/SVN

2004-12-29 Thread James Mason
If the key feature you're needing is a revision control system, go with Subversion (or CVS if you must). Slide was designed to be a WebDAV-enabled content management system. It brings a lot more features to the table than either SVN or CVS (DASL, ACLs, BINDing), but the version control pieces are (

Re: WebdavResource getChildResources() : Directory Listing

2004-12-29 Thread James Mason
Can you post traces for the request and response? It might also be useful to compare the request/response when using the svn client. -James On Wed, 2004-12-29 at 17:54 -0600, Robert r. Sanders wrote: > I don't know how much support the WebDAV client lib has for being a > generic WebDAV tool; bu

Re: Using Slide the first time

2004-12-29 Thread James Mason
Also take a look at http://jakarta.apache.org/slide/howto-jaas.html if you want to enable authentication (it sounds like you do). -James On Wed, 2004-12-29 at 19:06 -0600, Robert r. Sanders wrote: > Not a slide expert myself; but I do believe that it is going to take > some configuration. Take

[ANNOUNCE] Release of Slide 2.1

2004-12-26 Thread James Mason
The Jakarta Slide community is pleased to announce the release of Slide 2.1. This is a combined bug fix and feature release. Feedback is greatly appreciated, especially in the form of bug reports. You can download Slide2.1 from: http://jakarta.apache.org/slide/download.html Release notes are at:

RE: Using external privilege control

2004-12-22 Thread James Mason
we > have to change all those places to make our own SecurityImpl class work, > right? > Thanks. > > regards, > > Jun > > James Mason <[EMAIL PROTECTED]> wrote: > You can also provide your Security implementation. ACLSecurityImpl is > extendable (or will be sho

Re: WCK: JAAS

2004-12-22 Thread James Mason
ring values you entered earlier. > > Another question is that, does it require certain class implementation > to use jaas on my Oracle OC4J application server, or it is just > configuration files issue?? I don't know :/. I've never used OC4J before. -James > > Tha

Re: WCK: JAAS

2004-12-21 Thread James Mason
Make sure your webapp is requiring users to authenticate. Check the bottom of the web.xml file, it should be fairly obvious... (I think) -James On Mon, 2004-12-20 at 05:15 -0800, EngR H wrote: > Hello there, > > Am using Slide WCK on OC4J, and intend to use JAAS authentication, I used the > bu

RE: Using external privilege control

2004-12-21 Thread James Mason
You can also provide your Security implementation. ACLSecurityImpl is extendable (or will be shortly) so it is a good place to start. You can override hasPermission() to give certain users complete access to the system. Coming in 2.2 is an easy way to provide your own implementations of Content, S

Re: FW: Tomcat redirecting when base URI doesn't have trailing slash

2004-12-14 Thread James Mason
Well, that's not too helpful :). I guess you'll have to include a trailing '/' when you type your initial url. -James On Tue, 2004-12-14 at 08:46 -0600, Tauzell, Dave wrote: > Hello, > > Here is the response I got from the Tomcat mailing list regarding the > redirect: > > -Original Message-

Re: Tomcat 302 redirect

2004-12-13 Thread James Mason
Send this to the Tomcat list (and if you wouldn't mind let us all know if they give you a solution). The redirect is happening before Slide gets a hold of it, so there's nothing we can do code wise. We may be able to make a configuration change, though. The redirect problem is a known issue with a

Re: WebdavResouce, putMethod(), and existence

2004-12-13 Thread James Mason
Garret, After you construct your WebdavResource you should be able to call headMethod() to see if the remote resource exists. I don't know if this is the best method, but it should work. -James On Sun, 2004-12-12 at 17:13 -0800, Garret Wilson wrote: > I started using Slide just days ago, and imm

Re: Unique ID for a document in the slide repository ?

2004-12-08 Thread James Mason
Using an event listener you could set a GUID on each resource as it is created, or if you have a custom store you could expose the unique ID as a property. Of course, the only way to *retrieve* an object based on the value of this property is through a search, so I don't know how useful it would be

RE: Cluster cache

2004-12-08 Thread James Mason
hough > /history isn't specifically configured as the base-uri? > > Thanks, > Warwick > > > > -Original Message- > > From: James Mason [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 07, 2004 8:40 PM > > To: Warwick Burrows; Slide Users Mailing List &

Re: Idea on final release of Slide 2.1

2004-12-08 Thread James Mason
Hopefully before the end of the year. It's looking pretty stable, and most of us are getting anxious for another release. -James On Tue, 2004-12-07 at 14:44 -0600, Chris O'Connell wrote: > Anyone have an idea of when the final release of Slide 2.1 will be available? > > Regards, > Chris > > ---

Re: Slide 2.1rc1 thrid party libraries info

2004-12-08 Thread James Mason
Most of the jars have the version number as part of the file name. For those that don't, you can check the MANIFEST files, but most don't have version info. Your best bet will probably be the dates on the CVS commit logs. That will give you a rough idea of when the library was created. At worst thi

Re: Cluster cache

2004-12-07 Thread James Mason
On Tue, 2004-12-07 at 18:10 -0800, Warwick Burrows wrote: > Hi James, > > I was hoping you could answer some questions about the cluster cache > design. We would like to go into production with Slide but doing so > requires the cluster cache implementation -- or no caching at all > which is not e

Re: developers: table prefix

2004-12-04 Thread James Mason
OJB. This is > straightforward. The only thing that I'm not sure is the transaction > stuff. In a simple way, it can be done the same way that the current > RDBMS store does it, but OJB is also able to enlist itself in the > current JTA transaction. So it's possible to take advantage o

[ANNOUNCE] Release of Slide 2.1 rc1

2004-12-03 Thread James Mason
The Jakarta Slide community is pleased to announce the release of Slide 2.1 RC 1. This is a bug fix release and brings Slide closer to a final 2.1 release. Feedback is greatly appreciated, especially in the form of bug reports. You can download Slide 2.1rc1 from: http://jakarta.apache.org/slide/do

Re: developers: table prefix

2004-12-03 Thread James Mason
Well, Cocoon works pretty well, and it's based on Avalon (another IoC framework, though supposedly not as light-weight as Spring). From the little I've worked with Cocoon it seems to work fairly well. -James On Sat, 2004-12-04 at 00:25 +0100, Oliver Zeigermann wrote: > Hi John, > > thanks a lot

Re: developers: table prefix

2004-12-03 Thread James Mason
r > > > > storing lists like the revisions or group members. Maybe I can do it as > > > > part of that but I'm still trying to make the time... > > > > OJB will do just fine for Slide purposes and it's simple enough. The > > > > Java code for

Re: developers: table prefix

2004-12-02 Thread James Mason
This is sort of on my todo list, but the only O/R tool I'm familiar with is Hibernate and for licensing reasons we can't integrate that with Slide (this may change in the future). I looked at OJB, but I wasn't impressed with some of the hoops I would have to jump through to accomplish, for example,

RE: authentication store

2004-11-23 Thread James Mason
using Slide ACL implementation? > > Thanks, > Warwick > > > > -Original Message- > > From: James Mason [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 22, 2004 9:50 PM > > To: Slide Users Mailing List > > Subject: Re: authentication store

Re: table prefix

2004-11-23 Thread James Mason
o > a whole knew that such belief were folly and lead to madness. > > Richard > > James Mason wrote: > > Not that I know of. That particular issue was resolved by creating the > > tables with a non-system user. In Oracle, that puts the tables in the > > defaul

Re: authentication store

2004-11-23 Thread James Mason
Take a look at the WCK. There's info on the Slide site and the Wiki. If the WCK won't work for you (it hasn't been released yet) take a look at the JNDIPrincipalStore; it's a simplistic implementation that only provides users and roles with a few properties. -James On Tue, 2004-11-23 at 10:27 +01

Re: Binding to Windows Network Drive

2004-11-22 Thread James Mason
There a SimpleFileStore (I think it's in 2.1) that should do what you want. I don't know about searching, since Slide only indexes files when they're uploaded. This shouldn't be too hard to work around, though. -James On Mon, 2004-11-22 at 17:34 -0500, John Gilbert wrote: > My customer has a Wind

Re: Why some files are opening and some are asking to save to disk .....In slide

2004-11-22 Thread James Mason
This is unlikely to be related to file size. It's more likely file type. Files with the same extension and mime-type should be handled the same by the browser. -James On Tue, 2004-11-23 at 01:06 +, mahesh kumar wrote: > Hello All , > > I uploaded the files with different sizes into slide sto

Re: table prefix

2004-11-22 Thread James Mason
Not that I know of. That particular issue was resolved by creating the tables with a non-system user. In Oracle, that puts the tables in the default schema of the user (versus the System schema). Is this a feature that you need? -James On Mon, 2004-11-22 at 13:30 -0800, Richard Emberson wrote: >

RE: write privileges for owner

2004-11-22 Thread James Mason
e check should only be on /files/john. > > Jason > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Friday, November 19, 2004 11:14 PM > To: Slide Users Mailing List > Subject: RE: write privileges for owner > > This sounds like a bug.

Re: authentication store

2004-11-22 Thread James Mason
Slide delegates all authentication to the app server, so any authentication source your app server supports (db, xml file, ldap) can be used to authenticate users to Slide. In order to expose Slide's internal user's to the app server Slide provides a JAAS implementation. For authorization Slide ne

Re: more newbie...

2004-11-19 Thread James Mason
It looks like you're trying to overwrite a collection with a file. That should fail. -James On Fri, 2004-11-19 at 18:14 -0600, Chris O'Connell wrote: > I'm trying to do some basic stuff to just get my hands around slide and > writing a client. I have Slide running on my tomcat 4.1 server. I wa

RE: write privileges for owner

2004-11-19 Thread James Mason
rent > directory /files/john. > > Is this a bug in the implementation? Would an alternative be to set the > owner on the new resource prior to the security checks? Any other > thoughts? Thanks in advance. > > Jason > > -Original Message- > From: James M

Re: version control statement in two different locations

2004-11-19 Thread James Mason
org.apache.slide.versioncontrol turns on/off the versioncontrol system in Slide. The auto-version-control property controls whether newly added resources are version controlled, or whether the user must explicitly put each resource under version control. -James On Fri, 2004-11-19 at 13:20 -0800,

Re: clustering

2004-11-19 Thread James Mason
01 > 11:27:26,544 INFO [STDOUT] http-0.0.0.0-9000-Processor25, 19-Nov-2004 > 11:27:26, > unauthenticated, GET, 200 "OK", 240 ms, / > > I misunderstood your previous reply "repository domain to > "/Warcontext/slide"", thought "namespace" w

Re: Indexing / DASL without Lucene

2004-11-18 Thread James Mason
2.1b2 supports content indexing with Lucene. Take a look at the org.apache.slide.search.IndexTrigger event listener near the bottom of Domain.xml. -James On Thu, 2004-11-18 at 12:44 -0800, Mirko Froehlich wrote: > Thanks, that's good to know. > > For content searches, is there any way to leverag

Re: clustering

2004-11-18 Thread James Mason
ll > does not work. > > in web.xml > > namespace > > /mywar/slide > in Domain.xml > > > > > Seems to be a bug. > > thanks > Bin > > James Mason <[EMAIL PROTECTED]> wrote: > Bin, > > If you can't use a combinat

Re: Needs help with the creation of new roles and users

2004-11-18 Thread James Mason
After you create the users/roles, you'll need to modify the ACL of the collection you want to give access to. I don't think DAVExplorer can modify ACLs, so I'd suggest you use the Slide command-line client. http://jakarta.apache.org/slide/webdav-client.html should get you started. The command you'

Re: Directory Uploads

2004-11-17 Thread James Mason
Slide client lib will give you the functionality you need to communicate with the WebDAV server. There are some simple example on the wiki to get you started, and the source to the command line client is a good reference. Also, there was talk of someone implementing a FileView using the client lib

Re: multiple stores vs. multiple namespaces

2004-11-17 Thread James Mason
Multiple stores would be simpler to configure, but other than that I don't think there would be a big difference. I've never played with multiple namespaces, though, so I could be missing something there. -James On Wed, 2004-11-17 at 11:33 -0800, Mirko Froehlich wrote: > We will likely need to us

Re: Indexing / DASL without Lucene

2004-11-17 Thread James Mason
Umm... yes ;). By default Slide does no indexing, but rather crawls your entire store for each search request. Obvious, this is horribly inefficient. If you're using a JDBC store you can take advantage of the database's capabilities for indexing, and Slide 2.2 will add a much more powerful indexin

RE: write privileges for owner

2004-11-17 Thread James Mason
The "owner" property should be an href referencing the URI of a principal in the system, eg: /users/john. Check out the group-member-set properties of the various roles for examples. -James On Wed, 2004-11-17 at 21:18 -0500, Jason McElravy wrote: > Oliver, > > Thanks for the tip on the use

Re: Status of supporting UTF-8 encoding

2004-11-17 Thread James Mason
There have been a number of language-related patches recently, so 2.1 should work well for you. If you don't want check out the latest updates from the release branch in CVS, the first 2.1 release candidate should be available in the next week or so. Also, for a majority of language problems simpl

Re: Product catalog/webdav integration advice sought.

2004-11-17 Thread James Mason
If the only reason you want WebDAV is to give designers direct access to product descriptions, you could write a custom Store over your database. This would give you direct database access to the information (which seems to be a priority) while retaining the benefits of WebDAV. If I were in your p

Re: Added projector documentation link

2004-11-17 Thread James Mason
Cool. Thanks, -James On Wed, 2004-11-17 at 12:02 -0500, Tim Frank wrote: > James Mason wrote on 17/11/04 11:50 AM: > > On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: > > > >>>One thing I don't think JXTemplate can handle (not sure on this) is > >&g

RE: Server API

2004-11-17 Thread James Mason
On Wed, 2004-11-17 at 14:31 +, Andy Bowes wrote: > Hi James > > Thanks for your message. > > A JCR implementation on top of Slide would definitely fit the bill for our > application. I have already made a start on creating a JCR implementation > of our internal framework to enable us to prov

Re: Added projector documentation link

2004-11-17 Thread James Mason
On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: > > One thing I don't think JXTemplate can handle (not sure on this) is > > outputting non-marked-up content. This would be a problem with CSS > > files, for example. I love the way the CSS theme is handled with the > > example application (I've c

Re: clustering

2004-11-17 Thread James Mason
Bin, If you can't use a combination of repository-domain and base-uri to get the path you want, than it's probably a bug. You can try setting your repository domain to "/Warcontext/slide", I think that should work. I don't have a setup where I can test this, so you're going to have to let me know

Re: auto-version checkout

2004-11-16 Thread James Mason
Tim, I believe the behavior you're seeing is expected. There was a discussion about this a few weeks back, you may be able to find it in the archive. I don't know a lot about versions (maybe someone else can step in here), but as far as I know the auto-version parameter only effects newly-created

RE: Server API

2004-11-16 Thread James Mason
Andy, Would a JCR (JSR 170) API to Slide be beneficial to your application? An idea some of the Slide developers have been kicking around is using Jackrabbit to write a wrapper around the WebDAV API so any WebDAV-accessible server would be JCR compliant. Interest is fairly low right now since ther

Re: Added projector documentation link

2004-11-16 Thread James Mason
On Sun, 2004-11-14 at 02:34 +0100, Stephane Bailliez wrote: [snip...] > why did you make your own template language ? > > When I see this: > > "?>>Hello > <%username;required;text/plain%>!?> > > I'm already screaming of pain ! It's not readable ! This is something I had a problem with as well.

Re: AW: Added projector documentation link

2004-11-16 Thread James Mason
If you wrap the response object before passing it to the RequestDispatcher you could catch the output of the jsp and store it for later. I would be against using jsps as a template system, however. There are many other good solutions that don't allow business logic in the presentation layer. -Jam

Re: ContentInterceptor doesn't seem to work.

2004-11-16 Thread James Mason
, Doug Reeder, a.k.a. Skapti wrote: > James Mason wrote: > > > Doug, > > > > I'm not sure what the problem is. Here's a link to one I know worked > > with Slide 2.0: > > http://www.mail-archive.com/slide-user@jakarta.apache.org/msg06513.html > >

Re: How do I get callback notifications from slide server about change in resources for eclipse RCP application

2004-11-15 Thread James Mason
Anupam, The easiest way to do this is probably with a NotificationListener. Take a look at http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/share/org/apache/slide/cluster/ClusterCacheRefresher.java?rev=1.5&view=auto and http://jakarta.apache.org/slide/clientjavadoc/index.html -James On Fri,

Re: ContentInterceptor doesn't seem to work.

2004-11-15 Thread James Mason
Doug, I'm not sure what the problem is. Here's a link to one I know worked with Slide 2.0: http://www.mail-archive.com/slide-user@jakarta.apache.org/msg06513.html The only differences I see are mine didn't include parameters and I implemented the setNamespace() method. Maybe this will give you a

Re: ClusterCacheRef - a different approach

2004-11-15 Thread James Mason
Richard, This was one of the options originally considered (the other being JMS). The current approach was chosen for two reasons: 1) It uses WebDAV 2) It was easy to implement If you're willing to right the code, I would love to see JGroups used for notifications. As you say, that would make co

Re: slide.war produced by WCK build process

2004-11-09 Thread James Mason
When you installed the slide war did you configure the JAAS module? If not, Tomcat will have no knowledge of Slide's users. The tomcat-deploy (something like that) ant target should take care of that for you. -James On Wed, 2004-11-10 at 01:46 +0200, Roman D wrote: > I am compiling WCK with Slid

  1   2   3   4   5   >