[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615933#comment-13615933 ] Carsten Ziegeler commented on SLING-2477: - Please, don't do two different formats

[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615788#comment-13615788 ] Ian Boston commented on SLING-2477: --- +1. I'll try and support both formats as they are n

[jira] [Comment Edited] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615089#comment-13615089 ] Ian Boston edited comment on SLING-2477 at 3/27/13 9:42 PM: Wh

[jira] [Commented] (SLING-2802) Upgrade Apache Commons-FileUpload to v1.3

2013-03-27 Thread Simone Tripodi (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615783#comment-13615783 ] Simone Tripodi commented on SLING-2802: --- Please wait a couple of days before applyin

[jira] [Updated] (SLING-2802) Upgrade Apache Commons-FileUpload to v1.3

2013-03-27 Thread Simone Tripodi (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi updated SLING-2802: -- Attachment: SLING-2802.patch The proposed patch upgrades the Commons-FileUpload dependency and

[jira] [Created] (SLING-2802) Upgrade Apache Commons-FileUpload to v1.3

2013-03-27 Thread Simone Tripodi (JIRA)
Simone Tripodi created SLING-2802: - Summary: Upgrade Apache Commons-FileUpload to v1.3 Key: SLING-2802 URL: https://issues.apache.org/jira/browse/SLING-2802 Project: Sling Issue Type: Improve

[jira] [Created] (SLING-2801) Sling GET servlet fails to export JSON when property contains a Double.NaN value

2013-03-27 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created SLING-2801: --- Summary: Sling GET servlet fails to export JSON when property contains a Double.NaN value Key: SLING-2801 URL: https://issues.apache.org/jira/browse/SLING-2801

RE: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Mike Müller
+1 > -Original Message- > From: Bertrand Delacretaz [mailto:bdelacre...@apache.org] > Sent: Wednesday, March 27, 2013 5:53 PM > To: dev@sling.apache.org > Subject: Re: Feedback on the current ResourceAccessSecurity API > > On Wed, Mar 27, 2013 at 5:48 PM, Carsten Ziegeler > wrote: > > ..

Re: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Bertrand Delacretaz
On Wed, Mar 27, 2013 at 5:48 PM, Carsten Ziegeler wrote: > ...What about a neutral name? It's up to the implementation whether it > optimizes or sanitizes - transformQuery maybe?... Works for me, suggested javadoc: ** Allows the ResourceProvider to transform the query based on the current user's

Re: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Carsten Ziegeler
What about a neutral name? It's up to the implementation whether it optimizes or sanitizes - transformQuery maybe? Carsten 2013/3/27 Mike Müller : >> >> So it is optimizeQuery really ;-) >> >> -Bertrand > > optimizeQuery in matters of performant security checks :-) > Maybe you are right in this c

RE: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Mike Müller
> > So it is optimizeQuery really ;-) > > -Bertrand optimizeQuery in matters of performant security checks :-) Maybe you are right in this case, that we rather should name the method optimizeQuery than sanitizeQuery. mike

Re: Interested in participating to GSoC 2013 with Sling

2013-03-27 Thread Bertrand Delacretaz
Hi, On Wed, Mar 27, 2013 at 2:32 PM, Ishan Thilina wrote: > ...The JMX agent I wrote collected JMX data and published them to a Cassandra > cluster (Please take a look at [2]). So I have experience working with > Cassandra too. So I think I am a good candidate to carry out this project. > Can any

Re: Interested in participating to GSoC 2013 with Sling

2013-03-27 Thread Ishan Thilina
Hi again!, Sorry for making such noise. But I couldn't resist sending another mail after seeing [1]!. In my time of 9 months in WSO2, my main project was writing a JMX monitoring agent[2] for their Business Activity Monitor[3]. Since all of their products are based on OSGi, I got a fair understan

Re: running Apache Sling on the Raspberry Pi

2013-03-27 Thread Ishan Thilina
Cool work Ondrej!. Rasberry pi like infrastructure might be the key to future low cost computing devices. If interested, see the article[1] on how some WSO2 [2] guys ran a set of their middleware successfully on a RPi cluster. [1]. http://blog.afkham.org/2013/01/raspberry-pi-control-center.html

[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615179#comment-13615179 ] Carsten Ziegeler commented on SLING-2477: - Let's stop this endless discussion and

Re: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Bertrand Delacretaz
Hi Mike, On Wed, Mar 27, 2013 at 12:50 PM, Mike Müller wrote: > ...It shouldn't scare at all: With or without the use of sanitizeQuery, the > resulting > list of resources (or the resulting resource) is checked against security > anyway... ok, good then. > ...The use case is very simple as sh

RE: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Mike Müller
> > It's not really an optimization in the sense of a QueryOptimizer, that > > could be > done > > by every ResourceProvider by now, without any new API. The sanitizeQuery > functionality > > has to come with the ResourceAccessSecurity service: The query can be > injected > > (sanitized) only from

[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615130#comment-13615130 ] Alexander Klimetschek commented on SLING-2477: -- We are discussion a JCR optim

Re: running Apache Sling on the Raspberry Pi

2013-03-27 Thread Ondrej Florian
...I thought as raspberry's goal is to teach kids about computers, raspberry + Apache Sling could be great way to teach kids about the 'cloud' :-). but we would need some kind of web-based IDE (kind of like CRXDE-lite) to make it easier to develop apps for it. Ondrej On 27 Mar 2013, at 10:36,

[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615089#comment-13615089 ] Ian Boston commented on SLING-2477: --- Where does it come from ? The I".." format is the

[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615078#comment-13615078 ] Bertrand Delacretaz commented on SLING-2477: I'm coming late to this, will try

Re: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Bertrand Delacretaz
Hi Mike, On Wed, Mar 27, 2013 at 8:54 AM, Mike Müller wrote: >> > Bertrand wrote: >> Could sanitizeQuery be done by having the ResourceProvider implement a >> QueryOptimizer API instead?... > It's not really an optimization in the sense of a QueryOptimizer, that could > be done > by every Resou

Re: running Apache Sling on the Raspberry Pi

2013-03-27 Thread Bertrand Delacretaz
On Wed, Mar 27, 2013 at 10:10 AM, Ondrej Florian wrote: > I've been playing with my Raspberry Pi (http://www.raspberrypi.org) and I > managed to install > and run Apache Sling on it... Fantastic - three cheers! -Bertrand

running Apache Sling on the Raspberry Pi

2013-03-27 Thread Ondrej Florian
Hi there, I've been playing with my Raspberry Pi (http://www.raspberrypi.org) and I managed to install and run Apache Sling on it. Although I didn't expect anything spectacular at first (I just tried it because, em... why not? :-), it is actually very usable. This makes me think it could prove

RE: not able to run standalone jar file (6) from download site

2013-03-27 Thread Robert Munteanu
Hi Ruben, > -Original Message- > From: Ruben Reusser [mailto:r...@headwire.com] > Sent: Wednesday, March 27, 2013 12:21 AM > To: dev@sling.apache.org > Subject: not able to run standalone jar file (6) from download site > > hi, > > I downloaded the sling standalone jar file from the webs

[jira] [Commented] (SLING-2477) Configuration via sling:OsgiConfig nodes does not support all types

2013-03-27 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615005#comment-13615005 ] Alexander Klimetschek commented on SLING-2477: -- Why is it always about techni

RE: Feedback on the current ResourceAccessSecurity API

2013-03-27 Thread Mike Müller
> On Mon, Mar 25, 2013 at 8:14 PM, Mike Müller wrote: > ... > > Bertrand wrote: > >> // Calling that canRead would be more consistent with other names > >> public Resource checkReadPermission( Resource resource ); > > > > I choosed another naming because canCreate, canDelete, etc. returns