Private content in JCR

2009-12-04 Thread Branden Visser
Hi all, This sounds like more of a JCR question then Sling, but I'm hoping it's a quick answer: If I have a resource node: /users/branden, how would I make the resource 'branden' and everything beneath it be private, so that no other authenticated user (except branden) can read it? I looked a

Authorization

2009-12-04 Thread John Crawford
Greetings, I'm utilizing the Sling GET servlet through JQuery on another platform, however, I'm seeing a 401 unauthorized response. Other than passing in the :@.json, how can I authenticate? When I pass the full credentials into the address bar on Firefox, it warns me that the website I'm access

[jira] Commented: (SLING-1224) openidauth bundle is listed in launchpad/bundles/pom.xml, but isn't actually included in the bundles jar

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786160#action_12786160 ] Felix Meschberger commented on SLING-1224: -- No this is probably just an ommission

[jira] Created: (SLING-1224) openidauth bundle is listed in launchpad/bundles/pom.xml, but isn't actually included in the bundles jar

2009-12-04 Thread Justin Edelson (JIRA)
openidauth bundle is listed in launchpad/bundles/pom.xml, but isn't actually included in the bundles jar Key: SLING-1224 URL: https://issues.apache.org/jira/b

Re: Running Sling from Trunk

2009-12-04 Thread John Crawford
Ok, cool. Thanks Felix. On Fri, Dec 4, 2009 at 11:00 AM, Felix Meschberger wrote: > Hi John, > > Yes I modified the contents of the launchpad/base module yesterday > thereby removing the Servlet API and the OSGi Http Service API from the > launcher and thus from the System Bundle exports. > > Un

Changing Sling Filter support

2009-12-04 Thread Felix Meschberger
Hi all, Currently all javax.servlet.Filter services registered in the OSGi framework is picked up by Sling (the SlingMainServlet) an added to the Sling filter chains. This is problematic in general and in special with respect to the planned addition of white board support for real servlet contain

Re: Running Sling from Trunk

2009-12-04 Thread Felix Meschberger
Hi John, Yes I modified the contents of the launchpad/base module yesterday thereby removing the Servlet API and the OSGi Http Service API from the launcher and thus from the System Bundle exports. Unfortunately this was not complete as the standalone application still registered the Servlet API

Re: Unzipping Uploaded Content

2009-12-04 Thread Christophe Lombart
If you don't plan to modify your content/files, another solution is to use bundle resources. We are using this for managing our javascript framework. I'm not sure if this solution fits to your requirements but you can do it with maven : org.apache.felix

[jira] Updated: (SLING-1223) Enable Servlet and Filter whiteboard support in Launchpad

2009-12-04 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-1223: -- Affects Version/s: (was: Commons Compiler 1.0.0) > Enable Servlet and Filter whiteboard sup

[jira] Created: (SLING-1223) Enable Servlet and Filter whiteboard support in Launchpad

2009-12-04 Thread Justin Edelson (JIRA)
Enable Servlet and Filter whiteboard support in Launchpad - Key: SLING-1223 URL: https://issues.apache.org/jira/browse/SLING-1223 Project: Sling Issue Type: Improvement Affects Vers

Build failed in Hudson: sling-trunk-1.5 #400

2009-12-04 Thread Apache Hudson Server
See Changes: [fmeschbe] SLING-1208 include access manager SNAPSHOT in the bundles [fmeschbe] SLING-1208 Adapt to an API change between Jackrabbit 1.5 and 1.6: If a node as a access control policy set, the AccessControlMana

Build failed in Hudson: sling-trunk-1.5 » Apache Sling Scripting JSP Support #400

2009-12-04 Thread Apache Hudson Server
See -- [INFO] [INFO] Building Apache Sling Scripting JSP Support [INFO]

Re: Recommended way to take deal with JCR-1984

2009-12-04 Thread Felix Meschberger
Hi, Ian Boston schrieb: > Felix, > yes thank you, > got the update through which did as you say fix about 4 of the tests in > Sling (and found the sling jira now). > BTW I think the other problems I am having with {internal}privileges not > being defined are of my own making, ok. > although I di

[jira] Resolved: (SLING-1208) Integration test failures after upgrading to Jackrabbit 1.6

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1208. -- Resolution: Fixed Rev 887204: Adding the SNAPSHOT build of the jackrabbit-accessmanager

Running Sling from Trunk

2009-12-04 Thread John Crawford
Hello, Yesterday evening I tried to checkout Sling from source (trunk) and run the standalone application. The build went okay (as long as I suppressed the tests), however, when it came time to run the framework, it acted like it was starting up, but failed immediately. There were no error messa

[jira] Updated: (SLING-1208) Integration test failures after upgrading to Jackrabbit 1.6

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-1208: - Affects Version/s: JCR Jackrabbit Access Manager 2.0.2 Fix Version/s: JCR Jackrab

[jira] Commented: (SLING-1208) Integration test failures after upgrading to Jackrabbit 1.6

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785938#action_12785938 ] Felix Meschberger commented on SLING-1208: -- The problem is an API change in Jackra

Re: Unzipping Uploaded Content

2009-12-04 Thread John Crawford
Interesting. Ok, I'll check it out. Thanks! On Fri, Dec 4, 2009 at 7:49 AM, Bertrand Delacretaz wrote: > Hi, > > On Fri, Dec 4, 2009 at 6:53 AM, John Crawford wrote: > > ...I was wondering if you all had ever performed a zip file upload and > > unpacked it within the repo? (Is there already a

Re: Unzipping Uploaded Content

2009-12-04 Thread Bertrand Delacretaz
Hi, On Fri, Dec 4, 2009 at 6:53 AM, John Crawford wrote: > ...I was wondering if you all had ever performed a zip file upload and > unpacked it within the repo?  (Is there already an API and set of best > practices for this?)... The best is to use a JCR observer to detect the incoming zip file,

Build failed in Hudson: sling-trunk-1.5 #399

2009-12-04 Thread Apache Hudson Server
See Changes: [fmeschbe] SLING-1179 Servlet API is not available in the launcher any more, thus we have to remove the system package declaration in the standalone application [fmeschbe] SLING-1219 Fix description of test ent

Build failed in Hudson: sling-trunk-1.5 » Apache Sling Scripting JSP Support #399

2009-12-04 Thread Apache Hudson Server
See -- [INFO] [INFO] Building Apache Sling Scripting JSP Support [INFO]

[jira] Closed: (SLING-1214) Fixes to Scala scripting engine

2009-12-04 Thread JIRA
[ https://issues.apache.org/jira/browse/SLING-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig closed SLING-1214. Works great thanks. > Fixes to Scala scripting engine > --- > >

[jira] Resolved: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1219. -- Resolution: Fixed Fix Version/s: JCR Resource 2.0.8 Applied this in Rev. 887169

[jira] Assigned: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-1219: Assignee: Felix Meschberger > Map test in JCR Resource Resolver web console plugin

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785902#action_12785902 ] Felix Meschberger commented on SLING-1219: -- Thanks, ok, so I will fix the descript

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785898#action_12785898 ] Alexander Klimetschek commented on SLING-1219: -- > How about better description

[Fwd: Re: Using the AccessControlManager to set a policy]

2009-12-04 Thread Felix Meschberger
FYI, that may also be the case for our integration test failures... Currently testing. Regards Felix Original-Nachricht Betreff: Re: Using the AccessControlManager to set a policy Datum: Fri, 04 Dec 2009 12:52:03 +0100 Von: Angela Schreiber Antwort an: us...@jackrabbit.apache.o

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785894#action_12785894 ] Felix Meschberger commented on SLING-1219: -- > in the current implementation, if yo

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785883#action_12785883 ] Alexander Klimetschek commented on SLING-1219: -- > If you provide an absolute U

Build failed in Hudson: sling-trunk-1.5 #398

2009-12-04 Thread Apache Hudson Server
See Changes: [fmeschbe] SLING-480 Convert repository accessor into a plain component and have the DS implementation create instances according to factory configuration as defined by the DS spec. [fmeschbe] SLING-480 Conver

Build failed in Hudson: sling-trunk-1.5 » Apache Sling Scripting JSP Support #398

2009-12-04 Thread Apache Hudson Server
See -- [INFO] [INFO] Building Apache Sling Scripting JSP Support [INFO]

Re: Jackrabbit 2.0 support for OSGi/Sling

2009-12-04 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: > > On 4 Dec 2009, at 08:35, Felix Meschberger wrote: > >>> >>> bundles/jcr/jackrabbit-server >>> Embedded Jackrabbit Repository providing Service API to plugin >>> LoginModules as OSGi services. >>> --> Offer to Jackrabbit >> >> ==> Offer to Jac

Re: [VOTE] Release Apache Sling MIME type mapping support 2.1.2

2009-12-04 Thread Carsten Ziegeler
+1 Carsten -- Carsten Ziegeler cziege...@apache.org

Re: Jackrabbit 2.0 support for OSGi/Sling

2009-12-04 Thread Ian Boston
On 4 Dec 2009, at 08:35, Felix Meschberger wrote: bundles/jcr/jackrabbit-server Embedded Jackrabbit Repository providing Service API to plugin LoginModules as OSGi services. --> Offer to Jackrabbit ==> Offer to Jackrabbit, but decide on "how" -- the most important qu

Re: Unzipping Uploaded Content

2009-12-04 Thread Ian Boston
Hi, you can use the contentloader mechanism. [1] ie, build a jar of all your content, with a MANIFEST.MF containing a directive Sling-Initial-Content: SLING-INF/content Where SLING-INF/content is the path into the jar where the content that you want loaded into / is located. Then redepl

Re: [VOTE] Release Apache Sling MIME type mapping support 2.1.2

2009-12-04 Thread Ian Boston
On 3 Dec 2009, at 23:38, Felix Meschberger wrote: [ X] +1 Approve the release All good here. Ian ### CHECK SIGNATURES AND DIGESTS #

[jira] Updated: (SLING-408) Repository service not registered when using Equinox Declarative Services

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-408: Affects Version/s: JCR Jackrabbit Server 2.0.4 JCR Jackrabbit Client 2

[jira] Resolved: (SLING-408) Repository service not registered when using Equinox Declarative Services

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-408. - Resolution: Fixed Fix Version/s: JCR Jackrabbit Server 2.0.6 Finally fixed this in

[jira] Commented: (SLING-408) Repository service not registered when using Equinox Declarative Services

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785845#action_12785845 ] Felix Meschberger commented on SLING-408: - The second issue has in fact been another

Re: Recommended way to take deal with JCR-1984

2009-12-04 Thread Ian Boston
Felix, yes thank you, got the update through which did as you say fix about 4 of the tests in Sling (and found the sling jira now). BTW I think the other problems I am having with {internal}privileges not being defined are of my own making, although I did notice the launch-pad tests are usin

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785837#action_12785837 ] Felix Meschberger commented on SLING-1219: -- Actually, implementation wise the JcrR

Re: Jackrabbit 2.0 support for OSGi/Sling

2009-12-04 Thread Felix Meschberger
Hi all, Thanks for your replies. Here is a consolidated view of the replies with respect to my proposal Felix Meschberger schrieb: >bundles/jcr/api > Provides the SlingRepository iterface. This bundle just > depends on JCR and has no Jackrabbit dependencies. > --> Keep