Re: Again: administration web-frontend for slide?
Frank, Cocoon does have a Slide admin interface. Cocoon 2.1 has Slide 2 bundled in by default. For users/roles the interface works quite well, but I've found it a bit lacking for dealing with files/folders. -James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cutom authentication for Slide
Hi Jean > I'm using Slide 2.0 within Tomcat 5.0.19, JDK 1.4.2_03. I > would like to use a custom (SSO) authentication mechanism to > control access to the Slide server. Actually, I want to > totally get rid of the simple HTTP auth mechanism and use an > external tool - for information, the Central Authentication > Service (CAS - https://www.yale.edu/tp/cas). > > Is there any roadmap to follow / featured API to help with this task ? I integrated CAS support into the Acegi Security System (http://acegisecurity.sourceforge.net), which I've also integrated into Slide, so hopefully I can offer some pointers. Slide has a utility class, org.apache.slide.webdav.util.WebdavUtils, which has a method, getSlideToken(). This method obtains the principal from the web container using the normal request.getUserPrincipal() method, or, failing that, from a session attribute named "org.apache.slide.webdav.method.principal". This is your magic bridge between third party authentication systems and Slide. :-) For this to work, you DON'T authenticate using standard web container services. So disable web.xml s etc. You'll need a filter that detects requests to the WebdavServlet from a user that hasn't got a HttpSession attribute with the above name. When the unauthenticated user is detected, you'll redirect them to the CAS server. After login, CAS will post back to another one of your filters which validates the CAS service ticket and sets up a valid Principal implementation in the HttpSession attribute named above. From that point forward, the WebdavUtils class will be able to extract the Principal. Slide only uses Principal.getName(), and then relies on its own authorization store to determine the ACLs that apply. The most work is in the filters/servlets that tie in the CAS login. Also, of course, you'll have a problem in that non-web-browser clients cannot obtain the CAS ticket as they use BASIC authentication which doesn't understand HTTP redirects (which is central to how CAS works). There are some ways you can approach it, though: - Forget about non-browser clients. Ouch... - Write a filter that detects the BASIC authentication request, then posts it through to CAS on behalf of the BASIC authentication client, and then processes the resulting opaque service ticket as described above. - Have dual authentication methods. For web browsers use native CAS. For BASIC authentication clients, directly validate against the backend database from your BASIC authentication processing filter. This is the cleanest model. Acegi Security might be worth a look for some code samples. It does BASIC authentication, CAS integration etc. You could also use it natively to perform most (if not all) of the above. Hope this helps. Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Again: administration web-frontend for slide?
Is it possible my message didn't arrive? I got it via mail client, but can't find it in the html archive on http://jakarta.apache.org/site/mail2.html#Slide Can someone help finding a serverside webfrontend using the slide client api? Frank Schmaus wrote: Hi there, I'm quite new to slide (and apache projects in general). I realy liked the idea of slide, but somehow thought it might bring some webfrontend to admin all this. I need all the nice features, the client-api has, packed inside this frontend (adding/removing users/groups, setting rights on resources...) Questions: - Is there some add on project, solving the web admin issue? - I read in this mailing list, that cocoon would bring some frontend, but couldn't find something about this there? - Is there a list of public projects, build on top of the slide client-api? Having read the mailing archive let me believe a lot of people are implementing their own frontend using this api. Isn't there something as ready, so the owner could publish it? Grüße, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
some questions
Hi, I am trying to develop a WebDav servlet and don't know where else to go to get help for this. There appears to be no general development mailing lists for people trying to implement a DAV server. First off, how do you get apps like MS Word and Adobe Acrobat to re-submit an OPTIONS request? Problem is when I first was experimenting with the returned DAV headers I only specified level 1 support, now I want the apps to try LOCK/UNLOCK which is level 2, and now the apps never requery via OPTIONS so I cannot seem to test this. How do you get these apps to clear whatever cache/dav server history? thanks Aaron
Cutom authentication for Slide
Hi, I'm using Slide 2.0 within Tomcat 5.0.19, JDK 1.4.2_03. I would like to use a custom (SSO) authentication mechanism to control access to the Slide server. Actually, I want to totally get rid of the simple HTTP auth mechanism and use an external tool - for information, the Central Authentication Service (CAS - https://www.yale.edu/tp/cas). Is there any roadmap to follow / featured API to help with this task ? Regards, J.B. Lievremont - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slide and XP drive mapping
Even with web folders you might notice that your Windows Login user info gets used for live attributes/properties like the owner of a lock instead of the user that authenticated to Slide. I have no troubles with the WebDrive product and Slide and they even support automatic locking on open for edit with products that don't support WebDav, like AutoCad. The WebDrive let's you specify what /user/ you want to use for Locks, etc. I am not affiliated with SouthRiverTech or WebDrive, I just am very happy with the product. http://www.southrivertech.com/products/webdrive/index.html Michael Oliver CTO Matrix Intermedia Inc. 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(520)844-1036 -Original Message- From: Glen Stampoultzis [mailto:[EMAIL PROTECTED] Sent: Sunday, May 16, 2004 9:27 PM To: [EMAIL PROTECTED] Subject: Slide and XP drive mapping XP supports drive mapping of webdav shares. I was wondering whether slide supports this? I'm having authentication problems when I try this. "Web Folders" work fine however. Regards, Glen Stampoultzis [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]
RE: problem starting up slide-2.0rc2
My Domain.xml file again : store/metadata work/metadata store/content work/content /actions/read /actions/write /actions/write /actions/write-acl /actions/write-acl /actions/read-acl /actions/read-current-user-privilege-set /actions/write /actions/unlock /actions/read /actions/read /actions/write-properties /actions/write-properties /actions/write-properties /actions/read /actions/write-content /actions/write-content /actions/write-content /actions/bind /actions/unbind /users /roles /actions /files true true path 0 http://jakarta.apache.org/slide/"; name="password">root http://jakarta.apache.org/slide/"; name="password">john http://jakarta.apache.org/slide/"; name="password">john2 http://jakarta.apache.org/slide/"; name="password">guest /history /workspace /workingresource checkout-checkin false forbidden forbidden - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem starting up slide-2.0rc2
Here is my Domain.xml file Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deploying Slide on WebLogic
> > > > Well, I found something like C:\bea\weblogic81\common\lib and > > C:\bea\weblogic81\server\lib ... B-) > > > > Ah, ok. So put *only* the real wrapper to server/lib, the rest to > common/lib. This way it might work. Well, that's the way it works in Tomcat ... but not in WebLogic :-( Regards, Peter > -Original Message- > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > Sent: Monday, May 17, 2004 11:34 > To: Slide Users Mailing List > Subject: Re: Deploying Slide on WebLogic > > > [EMAIL PROTECTED] wrote: > > > Thanks, Oliver. > > > > > >>this seems to be the same problem as with Tomcat, but I do > not think > >>common/lib or server/lib do exist in WebLogic, do they? > > > > > > Well, I found something like C:\bea\weblogic81\common\lib and > > C:\bea\weblogic81\server\lib ... B-) > > > > Ah, ok. So put *only* the real wrapper to server/lib, the rest to > common/lib. This way it might work. > > Oliver > > >>You will have to > >>find a locations for the realm code that is accessible for > >>the WebLogic kernel class loader. > > > > > > OK ... so the problem is where to put the classes the realm > depends on > > ... > > > > Regards, > > Peter > > > > > >>-Original Message- > >>From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > >>Sent: Monday, May 17, 2004 11:15 > >>To: Slide Users Mailing List > >>Subject: Re: Deploying Slide on WebLogic > >> > >> > >>Hi Peter, > >> > >>this seems to be the same problem as with Tomcat, but I do > not think > >>common/lib or server/lib do exist in WebLogic, do they? You > >>will have to > >>find a locations for the relam code that is accessible for > >>the WebLogic > >>kernel class loader. Maybe there is no other than the > global one? In > >>Tomcat sever/lib is accesible from the Tomcat core, so I put > >>it there. > >>Anyway, be careful to have all other classes accessible from > >>the Slide > >>WebApp as well (that's why other classes are in common/lib). > >> > >>Oliver > >> > >>[EMAIL PROTECTED] wrote: > >> > >> > >>>Hi, I'm a newbie with WebLogic ... has anybody experience > >> > >>with the deployment of Slide on WebLogic? > >> > >>>It works fine for me with security switched-off. > >>> > >>>But when I try to use security, after adapting the realm > >> > >>for WebLogic, I get problems with the class loaders. I get it > >>only work if I put certain classes (mainly, the realm and > >>everything it depends on) in the *global* class path > >>(workaround). Putting classses in common/lib or server/lib > >>(like I can do in Tomcat) doesn't seem to help ... i.e. > >>classes aren't found by any of WebLogic's classloaders. > >> > >>>What I did in WebLogic 8.1: > >>>- created a new domain "mydomain" > >>>- opened the console (http://localhost:7001/console) > >>> - configured the realm (Security > Realms > Configure a > new Realm) > >>> - deployed Slide (Deployments > Web Application Modules > > >> > >>Deploy a new ... > >> > >>>Any hints? > >>> > >>>Thanks, > >>>Peter > >>> > >>> > >> > >> > - > >> > >>>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] > >> > >> > > > > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Deploying Slide on WebLogic
[EMAIL PROTECTED] wrote: Thanks, Oliver. this seems to be the same problem as with Tomcat, but I do not think common/lib or server/lib do exist in WebLogic, do they? Well, I found something like C:\bea\weblogic81\common\lib and C:\bea\weblogic81\server\lib ... B-) Ah, ok. So put *only* the real wrapper to server/lib, the rest to common/lib. This way it might work. Oliver You will have to find a locations for the realm code that is accessible for the WebLogic kernel class loader. OK ... so the problem is where to put the classes the realm depends on ... Regards, Peter -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 11:15 To: Slide Users Mailing List Subject: Re: Deploying Slide on WebLogic Hi Peter, this seems to be the same problem as with Tomcat, but I do not think common/lib or server/lib do exist in WebLogic, do they? You will have to find a locations for the relam code that is accessible for the WebLogic kernel class loader. Maybe there is no other than the global one? In Tomcat sever/lib is accesible from the Tomcat core, so I put it there. Anyway, be careful to have all other classes accessible from the Slide WebApp as well (that's why other classes are in common/lib). Oliver [EMAIL PROTECTED] wrote: Hi, I'm a newbie with WebLogic ... has anybody experience with the deployment of Slide on WebLogic? It works fine for me with security switched-off. But when I try to use security, after adapting the realm for WebLogic, I get problems with the class loaders. I get it only work if I put certain classes (mainly, the realm and everything it depends on) in the *global* class path (workaround). Putting classses in common/lib or server/lib (like I can do in Tomcat) doesn't seem to help ... i.e. classes aren't found by any of WebLogic's classloaders. What I did in WebLogic 8.1: - created a new domain "mydomain" - opened the console (http://localhost:7001/console) - configured the realm (Security > Realms > Configure a new Realm) - deployed Slide (Deployments > Web Application Modules > Deploy a new ... Any hints? Thanks, Peter - 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] - 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]
RE: Deploying Slide on WebLogic
Thanks, Oliver. > this seems to be the same problem as with Tomcat, but I do not think > common/lib or server/lib do exist in WebLogic, do they? Well, I found something like C:\bea\weblogic81\common\lib and C:\bea\weblogic81\server\lib ... B-) > You will have to > find a locations for the realm code that is accessible for > the WebLogic kernel class loader. OK ... so the problem is where to put the classes the realm depends on ... Regards, Peter > -Original Message- > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > Sent: Monday, May 17, 2004 11:15 > To: Slide Users Mailing List > Subject: Re: Deploying Slide on WebLogic > > > Hi Peter, > > this seems to be the same problem as with Tomcat, but I do not think > common/lib or server/lib do exist in WebLogic, do they? You > will have to > find a locations for the relam code that is accessible for > the WebLogic > kernel class loader. Maybe there is no other than the global one? In > Tomcat sever/lib is accesible from the Tomcat core, so I put > it there. > Anyway, be careful to have all other classes accessible from > the Slide > WebApp as well (that's why other classes are in common/lib). > > Oliver > > [EMAIL PROTECTED] wrote: > > > Hi, I'm a newbie with WebLogic ... has anybody experience > with the deployment of Slide on WebLogic? > > > > It works fine for me with security switched-off. > > > > But when I try to use security, after adapting the realm > for WebLogic, I get problems with the class loaders. I get it > only work if I put certain classes (mainly, the realm and > everything it depends on) in the *global* class path > (workaround). Putting classses in common/lib or server/lib > (like I can do in Tomcat) doesn't seem to help ... i.e. > classes aren't found by any of WebLogic's classloaders. > > > > What I did in WebLogic 8.1: > > - created a new domain "mydomain" > > - opened the console (http://localhost:7001/console) > > - configured the realm (Security > Realms > Configure a new Realm) > > - deployed Slide (Deployments > Web Application Modules > > Deploy a new ... > > > > Any hints? > > > > Thanks, > > Peter > > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Deploying Slide on WebLogic
Hi Peter, this seems to be the same problem as with Tomcat, but I do not think common/lib or server/lib do exist in WebLogic, do they? You will have to find a locations for the relam code that is accessible for the WebLogic kernel class loader. Maybe there is no other than the global one? In Tomcat sever/lib is accesible from the Tomcat core, so I put it there. Anyway, be careful to have all other classes accessible from the Slide WebApp as well (that's why other classes are in common/lib). Oliver [EMAIL PROTECTED] wrote: Hi, I'm a newbie with WebLogic ... has anybody experience with the deployment of Slide on WebLogic? It works fine for me with security switched-off. But when I try to use security, after adapting the realm for WebLogic, I get problems with the class loaders. I get it only work if I put certain classes (mainly, the realm and everything it depends on) in the *global* class path (workaround). Putting classses in common/lib or server/lib (like I can do in Tomcat) doesn't seem to help ... i.e. classes aren't found by any of WebLogic's classloaders. What I did in WebLogic 8.1: - created a new domain "mydomain" - opened the console (http://localhost:7001/console) - configured the realm (Security > Realms > Configure a new Realm) - deployed Slide (Deployments > Web Application Modules > Deploy a new ... Any hints? Thanks, Peter - 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]
Deploying Slide on WebLogic
Hi, I'm a newbie with WebLogic ... has anybody experience with the deployment of Slide on WebLogic? It works fine for me with security switched-off. But when I try to use security, after adapting the realm for WebLogic, I get problems with the class loaders. I get it only work if I put certain classes (mainly, the realm and everything it depends on) in the *global* class path (workaround). Putting classses in common/lib or server/lib (like I can do in Tomcat) doesn't seem to help ... i.e. classes aren't found by any of WebLogic's classloaders. What I did in WebLogic 8.1: - created a new domain "mydomain" - opened the console (http://localhost:7001/console) - configured the realm (Security > Realms > Configure a new Realm) - deployed Slide (Deployments > Web Application Modules > Deploy a new ... Any hints? Thanks, Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: compression support [Was: Re: Oracle Store]
Davide Savazzi wrote: On Monday 17 May 2004 09:36, Oliver Zeigermann wrote: Hmmm, I am not quite sure if this is a good solution. Compression was introduced to achive a speedup. I guess writing to a temporary file first rather slows down everything, am I wrong? It's obviously slower but the real bottleneck is always the db, I'll make some benchmark ;) What do you think about using NIO to keep all in memory but outside the vm? Well, we onced decided to rely on Java 1.3 only, I guess, but we may change this for the 2.1 if people agree... Maybe the solution would be to disable compression when you want up-/download large files? Or write to a tmp file only if ByteArrayOutputStream becomes too big? Sounds good. But I am wondering why using the compression mode anyhow if it is slower? Could you please verify with your benchmark. Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
compression support [Was: Re: Oracle Store]
On Monday 17 May 2004 09:36, Oliver Zeigermann wrote: > Hmmm, I am not quite sure if this is a good solution. Compression was > introduced to achive a speedup. I guess writing to a temporary file > first rather slows down everything, am I wrong? It's obviously slower but the real bottleneck is always the db, I'll make some benchmark ;) What do you think about using NIO to keep all in memory but outside the vm? > Maybe the solution would > be to disable compression when you want up-/download large files? Or write to a tmp file only if ByteArrayOutputStream becomes too big? -- Davide Savazzi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem starting up slide-2.0rc2
No idea how this happened, but it seems collection users has been added to the root collection only half way. Please send the XML descriptor files for "/" and "users" that can be found in the store directory configured in Domain.xml to see what went wrong. Cheers, Oliver Stan Pinte wrote: hello, when starting up I have this: 2004-05-13 10:06:38,498 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.store.txfile.rm.impl.FileResourceManager - INFO - Started RM 2004-05-13 10:06:38,630 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.Namespace - INFO - Loading namespace slide base data 2004-05-13 10:06:38,804 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.Namespace - INFO - Init namespace slide configuration 2004-05-13 10:06:38,805 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.Namespace - INFO - Import data into namespace slide 2004-05-13 10:06:38,813 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object / 2004-05-13 10:06:38,937 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object /users 2004-05-13 10:06:38,944 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.Namespace - ERROR - Unable to read Namespace base configuration file : 2004-05-13 10:06:38,945 INFO [STDOUT] 13 May 2004 10:06:38 - org.apache.slide.common.Namespace - ERROR - java.lang.IllegalStateException: Existing binding users at / has to be removed first 2004-05-13 10:06:38,945 ERROR [STDERR] java.lang.IllegalStateException: Existing binding users at / has to be removed first 2004-05-13 10:06:38,946 ERROR [STDERR] at org.apache.slide.structure.ObjectNode.addBinding(ObjectNode.java:470) any suggestion? thanks a lot, Stan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Oracle Store
Davide Savazzi wrote: On Thursday 13 May 2004 09:48, Oliver Zeigermann wrote: As some sort of motivation for sequences. They are really *mandatory* when you use versioning and have more than one Client creating new resources concurrently. Without sequences you will get many conflicts as the 2.0 workaround does not have any effect with Oracle. Ok, I will look at it... (2.0 workaround?) Some code that prevents deadlocks with the file stores. Merely a hack... I have added support for content compression, 2 problems: - the field "bcompress" in StandardRDBMSAdapter is private, can it be changed to protected? Done - another OutOfMemoryError: StoreContentZip creates a ByteArrayOutputStream that stores all the zipped content in memory. I've modified StandardRDBMSAdapter to write compressed data in temp file. Hmmm, I am not quite sure if this is a good solution. Compression was introduced to achive a speedup. I guess writing to a temporary file first rather slows down everything, am I wrong? Maybe the solution would be to disable compression when you want up-/download large files? I've tested these changes with Oracle and MySql. Oracle works fine, MySql still suffers of OOM exceptions, but I think the problem is the JDBC driver. On mysql.com they say "With newly added large-packet protocol support, the driver can send rows and BLOBs up to 2 gigabytes in size." But in the README of the driver: --- This version of the driver also supports large packet sizes (up to the limits of your server) when you're using MySQL-4.0 or newer. Your JVM will need to be able to allocate enough memory to store the entire large packet, as well as an overhead of 16 megabytes or so. --- With MySql and compression enabled I have also random IOExceptions (even without my changes, in 2.0): 14 May 2004 12:24:18 - org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - java.io.EOFException: Unexpected end of ZLIB input stream java.io.EOFException: Unexpected end of ZLIB input stream Maybe it is because of the BLOB size limitation to 64K we have discussed before. I think data above 64K simply get truncated. A suggested solution was to use LONGBLOB (or so). Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]