About sling user management

2009-02-02 Thread Jack
Hey guys, I want to manage the users in the sling in a restful way. Such as, A request like this -> Post : { 'password' : 'pass', 'groups' : ['administrators', 'manager']} to the url like this /system/security/ users/jack will create a new user name jack(XML or request parameter can do th

[jira] Commented: (SLING-549) Scala script engine

2009-02-02 Thread JIRA
[ https://issues.apache.org/jira/browse/SLING-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669723#action_12669723 ] Michael Dürig commented on SLING-549: - ok everything seems to work fine. The only thing

Re: CRX 1.4.1 released - powered by Apache Jackrabbit & Sling - thanks!

2009-02-02 Thread Michael Wechner
with all respect for Day and in particular the various Apache devs working at Day, but it seems to me that your email is just a nicely packaged spam message Cheers Michael Greg Klebus schrieb: Hi All, I'd like to thank the Apache Jackrabbit and Apache Sling communities for your contributio

Re: Restrict access to the content under a given node

2009-02-02 Thread Rory Douglas
Actually, currently in the HTTP Basic AuthHandler in the authenticate() method, the code looks for a request parameter 'sling:authRequestLogin' (value doesn't matter). If it finds it, the handler actually calls the requestAuthentication() method on itself. So you can force at the HTTP Auth lo

CRX 1.4.1 released - powered by Apache Jackrabbit & Sling - thanks!

2009-02-02 Thread Greg Klebus
Hi All, I'd like to thank the Apache Jackrabbit and Apache Sling communities for your contributions to the two excellent open-source products, which we at Day use as a basis for our commercially-supported Content Repository Extreme (CRX) product [1]! Please see the dev.day.com announcement of the

Re: Restrict access to the content under a given node

2009-02-02 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: > On Mon, Feb 2, 2009 at 1:40 PM, Felix Meschberger wrote: > >> Douglas José schrieb: > ... >>> - How can I create an authenticated request? > ... >> One solution I could imagine is, that we define a new exception >> (say o.a.s.engine.auth.AuthenticationRequiredE

Re: Restrict access to the content under a given node

2009-02-02 Thread Bertrand Delacretaz
On Mon, Feb 2, 2009 at 1:40 PM, Felix Meschberger wrote: > Douglas José schrieb: ... >> - How can I create an authenticated request? ... > One solution I could imagine is, that we define a new exception > (say o.a.s.engine.auth.AuthenticationRequiredException), which then > causes the Sling main

[jira] Commented: (SLING-549) Scala script engine

2009-02-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669581#action_12669581 ] Bertrand Delacretaz commented on SLING-549: --- Thanks Felix for taking care of this.

Re: Restrict access to the content under a given node

2009-02-02 Thread Felix Meschberger
Hi Douglas, Douglas José schrieb: > Hi Felix, > > First of all, many thanks for your suggestions. Now I understand better how > Sling behaves, but I still have some unclear points: > > - How can I create an authenticated request? It seems like you stumbled up an issue, which has not been handle

[jira] Resolved: (SLING-549) Scala script engine

2009-02-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-549. - Resolution: Fixed Thanks for supplying (and maintaining) the patch. I have applied it in R

Re: Restrict access to the content under a given node

2009-02-02 Thread Douglas José
Hi Felix, First of all, many thanks for your suggestions. Now I understand better how Sling behaves, but I still have some unclear points: - How can I create an authenticated request? - How can I implement a login page in Sling? Should I take the provided credentials and login to a JCR Session wi

[jira] Closed: (SLING-847) Use ScriptEngineFactory.getMimeTypes() and .getExtensions() to enhance MIME Type Resolution

2009-02-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-847. --- Resolution: Fixed Implemented the SlingScriptAdapterFactory as a MimeTypeProvicer service in R

Re: Restrict access to the content under a given node

2009-02-02 Thread Felix Meschberger
Hi Douglas, Douglas José schrieb: > Hello, > > I would like to restrict the access to part of my Sling application. Using > the example of a blogging application, I want the posts to be public, but > the post creation page to be password protected. > I read something about configuring the "access