1 Mar 23:54
2 Mar 14:40
Slide and external JAAS modules
Darren Hartford <dhartford <at> ghsinc.com>
2006-03-02 13:40:31 GMT
2006-03-02 13:40:31 GMT
Hey all, I'm still evaluating Slide based on some requirements. One of the requirements is to use an external system for authentication/authorization (authorization as in getting roles), but still maintain the fine-grain ACL security built into Slide. Forgive the length, but I don't want to miss anything that might be relevant to the questions below. ================== Can anyone share any stories, or preferably, examples of successful implementation of Slide using external JAAS modules? http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg08654.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg11675.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg11589.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg08546.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg11499.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg08310.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg07984.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg07964.html Ones that clearly re-state similar challenge: http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg08450.html http://www.mail-archive.com/slide-user <at> jakarta.apache.org/msg07964.html(Continue reading)
2 Mar 15:58
WebDAV - getting resource content type
Eugeny N Dzhurinsky <eugenydzh <at> jdevelop.com>
2006-03-02 14:58:49 GMT
2006-03-02 14:58:49 GMT
Is it possible to return MIME-type of resource? I mean text/html,application/msword etc. Right now content type is always set to application/octet-stream. -- -- Eugene N Dzhurinsky
2 Mar 17:26
RE: WebDAV - getting resource content type
Darren Hartford <dhartford <at> ghsinc.com>
2006-03-02 16:26:47 GMT
2006-03-02 16:26:47 GMT
In the DAV namespace of searching, there is a property called 'getcontenttype' that is auto-detected in the default install of Slide 2.2pre, unsure about the 2.1 binary. <property name="getcontenttype" namespace="DAV:" value="application/msword" type="" protected="false" /> This is contained in the metadata about the file that is returned from a DASL search. Is this what you are looking for? -D > -----Original Message----- > From: Eugeny N Dzhurinsky [mailto:eugenydzh <at> jdevelop.com] > Sent: Thursday, March 02, 2006 9:59 AM > To: slide-user <at> jakarta.apache.org > Subject: WebDAV - getting resource content type > > Is it possible to return MIME-type of resource? I mean > text/html,application/msword etc. > Right now content type is always set to application/octet-stream. > > -- > Eugene N Dzhurinsky > > --------------------------------------------------------------------- > To unsubscribe, e-mail: slide-user-unsubscribe <at> jakarta.apache.org > For additional commands, e-mail: slide-user-help <at> jakarta.apache.org > >(Continue reading)
2 Mar 17:42
Re: WebDAV - getting resource content type
Eugeny N Dzhurinsky <eugenydzh <at> jdevelop.com>
2006-03-02 16:42:36 GMT
2006-03-02 16:42:36 GMT
On Thu, Mar 02, 2006 at 11:26:47AM -0500, Darren Hartford wrote: > In the DAV namespace of searching, there is a property called > 'getcontenttype' that is auto-detected in the default install of Slide > 2.2pre, unsure about the 2.1 binary. > > <property name="getcontenttype" namespace="DAV:" > value="application/msword" type="" protected="false" /> > > This is contained in the metadata about the file that is returned from a > DASL search. Is this what you are looking for? Well, not sure, I just need to allow users view MS Word documents, for example, just by clicking document in Internet Explorer when browsing directory. Also, could you pelase provide configuration example with this property defined? I don't know where to specify it... -- -- Eugene N Dzhurinsky
2 Mar 18:39
RE: Creating a different store for each different user
Michael Oliver <ollie <at> alariussystems.com>
2006-03-02 17:39:19 GMT
2006-03-02 17:39:19 GMT
Ok, well you may have posted here because you didn't get a reply there but you also didn't repost over there like I asked. I would have replied over there. But I don't think you know what you are asking. You are confusing the term "Store". In Slide a Store is a handler that handles specific types of calls from the Web DAV server. There are a number of them like Content, Node, Security, etc. What I believe you are talking about is each user would have their own content under a given path and can control that content under that path while being able to access content in a different path that is shared. This does NOT require any coding, just Access Control List entries and you can do that with the command line client or you can use code to write an application that you can use to maintain these ACLs. Please do not post a reply to the developers list, it will be ignored. I have cc'd the slide users list, please reply there if you wish. Michael Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd, #1096 Las Vegas, NV 89156 Phone:(702)953-8949 Fax:(702)974-0341 -----Original Message----- From: Ben Smith [mailto:ode2jesus <at> gmail.com] Sent: Thursday, March 02, 2006 9:23 AM(Continue reading)
2 Mar 19:03
RE: WebDAV - getting resource content type
Darren Hartford <dhartford <at> ghsinc.com>
2006-03-02 18:03:58 GMT
2006-03-02 18:03:58 GMT
If you are talking about going to http://localhost:8080/slide/files and having it automatically open a Word doc, sorry, can't help. If you have a custom application that the user is using (talking WebDAV, the WCK, or using Projector), you can obtain those Metadata properties (how to is dependent on which API you are using) like you would normally and use that property to help set the stream-type. -D > -----Original Message----- > From: Eugeny N Dzhurinsky [mailto:eugenydzh <at> jdevelop.com] > Sent: Thursday, March 02, 2006 11:43 AM > To: slide-user <at> jakarta.apache.org > Subject: Re: WebDAV - getting resource content type > > On Thu, Mar 02, 2006 at 11:26:47AM -0500, Darren Hartford wrote: > > In the DAV namespace of searching, there is a property called > > 'getcontenttype' that is auto-detected in the default > install of Slide > > 2.2pre, unsure about the 2.1 binary. > > > > <property name="getcontenttype" namespace="DAV:" > > value="application/msword" type="" protected="false" /> > > > > This is contained in the metadata about the file that is > returned from > > a DASL search. Is this what you are looking for? > > Well, not sure, I just need to allow users view MS Word > documents, for example, just by clicking document in Internet(Continue reading)
2 Mar 19:12
RE: WebDAV - getting resource content type
Darren Hartford <dhartford <at> ghsinc.com>
2006-03-02 18:12:14 GMT
2006-03-02 18:12:14 GMT
Or, the third option pending your use-case, is with WinXP clients only (win2000 is insufficient) you can mount it as a webfolder: http://jakarta.apache.org/slide/xp.html This will open the document with Word if MS Office is installed on that computer. -D > > > > Well, not sure, I just need to allow users view MS Word > documents, for > > example, just by clicking document in Internet Explorer > when browsing > > directory. > > > > Also, could you pelase provide configuration example with this > > property defined? I don't know where to specify it... > > > > -- > > Eugene N Dzhurinsky > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: slide-user-unsubscribe <at> jakarta.apache.org > > For additional commands, e-mail: slide-user-help <at> jakarta.apache.org > > > > > > ---------------------------------------------------------------------(Continue reading)
2 Mar 19:40
WCK/SLIDE to set Content-Type when returning resourceStream
Alex Pakka <alex <at> xenotex.com>
2006-03-02 18:40:00 GMT
2006-03-02 18:40:00 GMT
Hi, all! I have an implementation of BasicWebdavStore with WebdavStoreSinglePropertyExtension. SinglePropertyExtension properly sets "DAV:getcontenttype" to some MIME type. On a client side, PROPFIND returns this content type to be exactly as set. However, sniffing the traffic, SLIDE servlet does not set HTTP Content-Type to match the one in the PROPFIND: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 ETag: "" Content-Language: Last-Modified: Wed, 01 Mar 2006 21:21:48 GMT Content-Type: Content-Length: 24064 Date: Thu, 02 Mar 2006 18:20:03 GMT <...content...> Is it intended or a bug? Alex
2 Mar 21:26
Re: WCK/SLIDE to set Content-Type when returning resourceStream
Alex Pakka <alex <at> xenotex.com>
2006-03-02 20:26:19 GMT
2006-03-02 20:26:19 GMT
Hi!
I resolved the issue after some time spent with debugger. For some
reason one should return "DAV::getcontenttype" (note double colon mark).
I.e. my implementation looks like this:
public class VirtualFileSystemStoreImpl implements
WebdavStoreSinglePropertyExtension {
.....
public Map getProperties(String string) throws ServiceAccessException,
AccessDeniedException, ObjectNotFoundException, ObjectLockedException {
Properties p = new Properties();
p.setProperty("DAV::getcontenttype","application/msword");
return p;
}
....
}
(obviously, in reality Properties p is static final constant in the class)
I am not familiar with Apache patching process, but many people after me
will be greateful if someone in the loop could fix JavaDoc for
WebdavStoreSinglePropertyExtension, which talks about single colon.
Alex
> Hi, all!
>
> I have an implementation of BasicWebdavStore with
> WebdavStoreSinglePropertyExtension.
(Continue reading)
RSS Feed