Re: Setting the sling.core.current.servletName request attribute

2014-01-10 Thread Carsten Ziegeler
+1 for the proposed change to set the name earlier Carsten 2014/1/9 Alexander Klimetschek > On 08.01.2014, at 06:41, Felix Meschberger wrote: > > > I don't think pumping up the log tracker to extract information more > easily is a way to go: Other than having some kind of defined line format,

Re: JSON issue on jcr:data

2014-01-10 Thread Bertrand Delacretaz
Hi, On Thu, Jan 9, 2014 at 10:38 PM, Buzzterrier wrote: > When retrieving an entry created by uploading a file, the jcr:data property > on the content node has a preceding colon... That's by design, as we don't dump the actual data in json, only its length, we mark it to raise your attention. It

[jira] [Created] (SLING-3312) Move JMX bean registration into core module

2014-01-10 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-3312: --- Summary: Move JMX bean registration into core module Key: SLING-3312 URL: https://issues.apache.org/jira/browse/SLING-3312 Project: Sling Issue Type: T

[jira] [Resolved] (SLING-3312) Move JMX bean registration into core module

2014-01-10 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-3312. - Resolution: Fixed Done > Move JMX bean registration into core module > -

Re: [jira] [Created] (SLING-3312) Move JMX bean registration into core module

2014-01-10 Thread Bertrand Delacretaz
On Fri, Jan 10, 2014 at 2:59 PM, Carsten Ziegeler (JIRA) wrote: > Carsten Ziegeler created SLING-3312: ... > Summary: Move JMX bean registration into core module ... Do you have a plan to avoid problems if people still have the old hc.jmx bundle installed? We'd then have two competin

Re: HealthCheckExecutor.execute(ServiceReference) ??

2014-01-10 Thread Carsten Ziegeler
I'Ve done the suggested changes: - moved jmx stuff into the core - changed the signature to execute(String... tags) - Added service reference to metadata The only thing I'm unclear with are the different result possibilites. I think there are these cases when execute is called: a) no result in the

Re: [jira] [Created] (SLING-3312) Move JMX bean registration into core module

2014-01-10 Thread Carsten Ziegeler
The uninstaller feature of Sling launchpad should be used in that case. Worst case, the mbeans are registered twice Regards Carsten 2014/1/10 Bertrand Delacretaz > On Fri, Jan 10, 2014 at 2:59 PM, Carsten Ziegeler (JIRA) > wrote: > > Carsten Ziegeler created SLING-3312: > ... > >

Impact of having a lot of short-living session objects

2014-01-10 Thread Konrad Windszus
In SLING-3285 there was an issue reported and supposably fixed related to many short-living sessions. I want to discuss here what the real problem is related to having so many short-living sessions The open questions are: 1) Is creating a short-living session expensive? 2) Are closed sessions a

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-10 Thread Konrad Windszus
I see that most of the suggestions have been implemented and the feedback was mainly positive. What are the next steps here? Can you create a branch containing that piece of code and in parallel create a JIRA ticket for that contribution? Thanks Konrad On 07 Jan 2014, at 20:55, Justin Edelson w

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-10 Thread Justin Edelson
Hi Konrad, The next step IMHO is to formally rename this to Sling Models and move it to extensions/models. I'll start a separate thread about that. Regards, Justin On Fri, Jan 10, 2014 at 10:13 AM, Konrad Windszus wrote: > I see that most of the suggestions have been implemented and the feedback

[jira] [Created] (SLING-3313) Provide annotation-driven approach to create Model objects

2014-01-10 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-3313: - Summary: Provide annotation-driven approach to create Model objects Key: SLING-3313 URL: https://issues.apache.org/jira/browse/SLING-3313 Project: Sling Is

rename YAMF to Sling Models

2014-01-10 Thread Justin Edelson
I'd like to move YAMF from my whiteboard in to extensions and rename it as Sling Models. https://issues.apache.org/jira/browse/SLING-3313 Please speak up if you have an objection. Regards, Justin

Re: Impact of having a lot of short-living session objects

2014-01-10 Thread Alexander Klimetschek
On 10.01.2014, at 07:05, Konrad Windszus wrote: > The general question is: Under which circumstances is it worth to cache a > session (for a single thread) instead of just creating new ones and close > them directly afterwards? I guess there is another likely explanation: 4) a new session won

[jira] [Commented] (SLING-3179) Implement solution to the Authentication Handler Credential Validation Problem

2014-01-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868599#comment-13868599 ] Alexander Klimetschek commented on SLING-3179: -- I don't see how this is addin

Trusted credentials and loginByService

2014-01-10 Thread Alexander Klimetschek
Regarding: https://issues.apache.org/jira/browse/SLING-3179 https://cwiki.apache.org/confluence/display/SLING/Solving+the+Authentication+Handler+Credential+Validation+Problem I don't see how this is adding security other than reintroducing the TrustedInfo again, just with different and more compl

[jira] [Comment Edited] (SLING-3179) Implement solution to the Authentication Handler Credential Validation Problem

2014-01-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868599#comment-13868599 ] Alexander Klimetschek edited comment on SLING-3179 at 1/11/14 2:15 AM: -

[jira] [Commented] (SLING-2762) AbstractSlingRepository#login violates JCR spec

2014-01-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868615#comment-13868615 ] Alexander Klimetschek commented on SLING-2762: -- BTW, regarding the null login