[jira] Closed: (SLING-1067) User manager servlet does not allow administrative users to add new users.

2009-07-30 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Boston closed SLING-1067. - Fixed, The CreateUserServlet now checks to see if the user connected to the session connected to the resour

[jira] Resolved: (SLING-1067) User manager servlet does not allow administrative users to add new users.

2009-07-30 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Boston resolved SLING-1067. --- Resolution: Fixed Fix Version/s: JCR Jackrabbit User Manager 2.0.4 > User manager servlet does

Re: Authentication handler using LDAP

2009-07-30 Thread Carl Hall
Ahh, that makes perfect sense. Thanks for clarifying that. On Thu, Jul 30, 2009 at 16:04, Ian Boston wrote: > > On 30 Jul 2009, at 20:50, Carl Hall wrote: > >>  am implementing LoginModulePlugin but don't quite understand what >> you mean by not implementing the login protocol. > > > Ahh sorry,

Re: Authentication handler using LDAP

2009-07-30 Thread Ian Boston
On 30 Jul 2009, at 20:50, Carl Hall wrote: am implementing LoginModulePlugin but don't quite understand what you mean by not implementing the login protocol. Ahh sorry, the browser might send a WWW-Authenticate header ... that would be the http basic auth "protocol" for which there is a

Re: Authentication handler using LDAP

2009-07-30 Thread Carl Hall
On Thu, Jul 30, 2009 at 11:13, Ian Boston wrote: > For just the AuthN part I think you need to implement the LoginModulePlugin > rather than implementing the login protocol (eg Httpbasic, form etc). I am implementing LoginModulePlugin but don't quite understand what you mean by not implementing th

Re: when does currentNode get initialized in an esp?

2009-07-30 Thread Speelmon, Lance Day
That is a great help! Thanks, L Lance Speelmon Scholarly Technologist On Jul 30, 2009, at 7:03 AM, Vidar Ramdal wrote: >> Speelmon, Lance Day wrote: >>> >>> As a Sling newbie, could someone help me understand when >>> currentNode gets >>> initialized in an esp file? The following script sho

Servlet registration: sling.servlet.extensions ignored with default resource type

2009-07-30 Thread Vidar Ramdal
What is the intended behavior for a servlet that is registered as follows:  * @scr.property name="sling.servlet.extensions" value="html"  * @scr.property name="sling.servlet.resourceTypes" value="sling/servlet/default"  * @scr.property name="sling.servlet.methods" values.0="GET" values.1="POST" It

Servlet registration: sling.servlet.extensions ignored with default resource type

2009-07-30 Thread Vidar Ramdal
What is the intended behavior for a servlet that is registered as follows: * @scr.property name="sling.servlet.extensions" value="html" * @scr.property name="sling.servlet.resourceTypes" value="sling/servlet/default" * @scr.property name="sling.servlet.methods" values.0="GET" values.1="POST" It

[jira] Created: (SLING-1067) User manager servlet does not allow administrative users to add new users.

2009-07-30 Thread Ian Boston (JIRA)
User manager servlet does not allow administrative users to add new users. -- Key: SLING-1067 URL: https://issues.apache.org/jira/browse/SLING-1067 Project: Sling Issue

RE: Sling fails to build

2009-07-30 Thread Mike Müller
Hi Carsten >> snip snap > > Failed tests: > > > test_daily_rotation(org.apache.sling.commons.log.internal.slf4 > j.SlingLogWriterTest) > > > > Tests run: 17, Failures: 1, Errors: 0, Skipped: 0 > > > this works for me (and it seems to work for our Hudson instance as > well). Can you give us more in

[jira] Commented: (SLING-1066) Loaded jobs to not get rewired to updated bundles which may result in class cast exceptions

2009-07-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737141#action_12737141 ] Carsten Ziegeler commented on SLING-1066: - This is a result of the new class loadin

[jira] Created: (SLING-1066) Loaded jobs to not get rewired to updated bundles which may result in class cast exceptions

2009-07-30 Thread Carsten Ziegeler (JIRA)
Loaded jobs to not get rewired to updated bundles which may result in class cast exceptions --- Key: SLING-1066 URL: https://issues.apache.org/jira/browse/SLING-1066

Re: Authentication handler using LDAP

2009-07-30 Thread Ian Boston
For just the AuthN part I think you need to implement the LoginModulePlugin rather than implementing the login protocol (eg Httpbasic, form etc). So LoginModulePlugin.canHandle(credentials) should return true for credentials that have some hope of being authenticated agains LDAP. and Logi

Re: Sling fails to build

2009-07-30 Thread Carsten Ziegeler
Hi Mike Müller wrote: > Hi > > If you check out sling and try to build by mvn clean install, the > SlingLogWriterTest fails: > > --- > T E S T S > --- > Running org.apache.sling.commons.log.

Sling fails to build

2009-07-30 Thread Mike Müller
Hi If you check out sling and try to build by mvn clean install, the SlingLogWriterTest fails: --- T E S T S --- Running org.apache.sling.commons.log.internal.slf4j.SlingLoggerTest Tests run:

[jira] Updated: (SLING-1065) asm.jar missing in jcr-ocm bundle

2009-07-30 Thread Markus Pallo (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Pallo updated SLING-1065: Attachment: jcrocmpom.patch i patched the jcr/ocm/pom.xml file as you can see in attached file and

[jira] Created: (SLING-1065) asm.jar missing in jcr-ocm bundle

2009-07-30 Thread Markus Pallo (JIRA)
asm.jar missing in jcr-ocm bundle - Key: SLING-1065 URL: https://issues.apache.org/jira/browse/SLING-1065 Project: Sling Issue Type: Bug Affects Versions: JCR OCM 2.0.4 Reporter: Markus Pallo

Authentication handler using LDAP

2009-07-30 Thread Carl Hall
I'm writing an authentication handler that should use ldap for user information. My general steps are below. Please let me know where I'm wrong or where things could be done better. LdapAuthHandler -> AuthenticationHandler, LoginModulePlugin { AuthenticationInfo authenticate(..) { // if pr

[jira] Issue Comment Edited: (SLING-1064) missing attribute mappings in ocm ClassDescriptorReader

2009-07-30 Thread Markus Pallo (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737113#action_12737113 ] Markus Pallo edited comment on SLING-1064 at 7/30/09 7:24 AM: --

[jira] Created: (SLING-1064) missing attribute mappings in ocm ClassDescriptorReader

2009-07-30 Thread Markus Pallo (JIRA)
missing attribute mappings in ocm ClassDescriptorReader --- Key: SLING-1064 URL: https://issues.apache.org/jira/browse/SLING-1064 Project: Sling Issue Type: Bug Affects Versions: JCR OC

[jira] Updated: (SLING-1064) missing attribute mappings in ocm ClassDescriptorReader

2009-07-30 Thread Markus Pallo (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Pallo updated SLING-1064: Attachment: slingclassdescriptor.patch patchfile for ClassDescriptor reader > missing attribute ma

Re: Beginner question: script resolution

2009-07-30 Thread Alexander Klimetschek
On Thu, Jul 30, 2009 at 3:05 PM, Ian Boston wrote: > I might be missing the point, but, > I think this is a generic problem not just limited to this area, if I can > create a node and set sling:resourceType=something/nasty, *and* upload an > arbitrary script to somewhere that is resoled to by "some

Re: Beginner question: script resolution

2009-07-30 Thread Ian Boston
On 30 Jul 2009, at 10:08, Alexander Klimetschek wrote: On Thu, Jul 30, 2009 at 10:46 AM, Ian Boston wrote: Looking at [3], 2 things jump out. 1. On post @typeHint gives a hint for the type of a property, If when posting to a non existing resource you could pick up the resource type from the

Re: when does currentNode get initialized in an esp?

2009-07-30 Thread Vidar Ramdal
> Speelmon, Lance Day wrote: >> >> As a Sling newbie, could someone help me understand when currentNode gets >> initialized in an esp file?  The following script shows that currentNode is >> undefined in the $(document).ready context, but is defined later(?) within >> the tags.  Thanks, L 2009/7/

Re: Beginner question: script resolution

2009-07-30 Thread Alexander Klimetschek
On Thu, Jul 30, 2009 at 10:46 AM, Ian Boston wrote: > Looking at [3], 2 things jump out. > 1. On post @typeHint gives a hint for the type of a property, If when > posting to a non existing resource you could pick up the resource type from > the post sling:resourceType POST parameter would it be pos

Re: Beginner question: script resolution

2009-07-30 Thread Ian Boston
I should add that [1] is certainly not finalized as a patch since it has some major issues with the way it needs to change core api's in a non compatible way I have been trying on and off to eliminate those problems (using a SyntheticResource)... but at the moment so the best way of deliverin

Re: Sling ClassDescriptorReader miss uuid

2009-07-30 Thread Carsten Ziegeler
Hmm, ok this change looks ok to me (but I'm not an expert here). Could you please open an issue in jira for this? Thanks Carsten Markus Pallo wrote: > ok, here we go ... > > i have a mapped class (see below) and after inserting and retrieving the > object out of the repository, the id (uuid) is

Re: Welcome Ian Boston as a new member of the Sling PMC

2009-07-30 Thread Ian Boston
Mike, and everyone else, Thank you for you support, I will do all I can to help Sling continue to succeed. Ian On 30 Jul 2009, at 08:24, Mike Müller wrote: Hi Ian I'm pleased to see you on the board. Confratulations. best regards mike Hi all, Based on his strong involvement with the Sli

RE: Welcome Ian Boston as a new member of the Sling PMC

2009-07-30 Thread Mike Müller
Hi Ian I'm pleased to see you on the board. Confratulations. best regards mike > Hi all, > > Based on his strong involvement with the Sling project, the Sling PMC > has decided to invite Ian Boston to join the Sling PMC. > > Please join me in welcoming Ian as a new PMC member! > > I would like t