Re: Script resolution newbie question

2013-11-05 Thread Alexander Klimetschek
On 04.11.2013, at 14:06, Alessandro Bologna wrote: > Again, I fully understand that this is possibly a better approach with > fewer contents and maybe if there variations on them, but in my use case > (same exact contents, just different rendering) the approach of extending > the script search p

Re: Setting framework property at command line

2013-11-05 Thread Chetan Mehrotra
On Tue, Nov 5, 2013 at 7:36 PM, Felix Meschberger wrote: > This is obviously wrong and must be fixed. Created the issue SLING-3231 [1] for this. For now the patch just creates the key in parseCommandLine like Da1 regards Chetan [1] https://issues.apache.org/jira/browse/SLING-3231 Chetan Mehrotr

Re: Setting framework property at command line

2013-11-05 Thread Felix Meschberger
Hi Yes, this is a bug in the Main.parseCommandLine method: This iterates the command line and creates a map where the parameters are the keys and the parameter values are the values. This folds all -D parameters into a single key-value pair just sticking with the last. This is obviously wrong a

Setting framework property at command line

2013-11-05 Thread Chetan Mehrotra
Hi, Looking at Sling Launchpad docs [1] it mentions that one can set framework property via -D n=v pair. I tried passing multiple properties like * -D a1=b1 -D a2=b2 * -Da1=b1 -Da2=b2 In both cases only the last property is set while the others are ignored. is there any other way it should be se

Re: authenticate user against external system

2013-11-05 Thread Felix Meschberger
Hi You probably want to implement an AuthenticationHandler service. You might want to look at the OpenID authentication handler [1]. This handler leverages OpenID to validate the identity of the user and creates the user on-demand linking the user to the OpenID identity. Another approache, tha

authenticate user against external system

2013-11-05 Thread Bernd Winterstein
Hi In my sling application I would like to authenticate against an external system. Scenario is as following: 1. The credentials are validated via sling basic/form login against the external system. (LDAP, Database, whatever) 2. If the external system grants access and the jcr user is not existing