[jira] Updated: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-18 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Sprecher updated SLING-1003: -- Attachment: RequestData.diff Patch for RequestData#unwrap(SlingHttpServletRequest

[jira] Reopened: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-16 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Sprecher reopened SLING-1003: --- see comments above Integration of 3rd party servlet filters problematic

[jira] Commented: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-16 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720162#action_12720162 ] Christian Sprecher commented on SLING-1003: --- To be honest, I cannot follow you

[jira] Commented: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-14 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12719312#action_12719312 ] Christian Sprecher commented on SLING-1003: --- Hmm, one step further, but still

[jira] Updated: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-14 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Sprecher updated SLING-1003: -- Attachment: SlingWebCastellum-1.0.jar The corpus delicti: OSGI-fied WebCastellum

Re: Integrate a Servlet Filter: init-params

2009-06-11 Thread Christian Sprecher
Felix Meschberger schrieb: Hi, Yes. And if you have the scr plugin generate the Metatype data (not setting metatype=no on the @scr.component tag) you will be able to configure the properties on the Configuration page of the Web Console. Wow, it works. This is pretty dramatic, imho.

[jira] Created: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-11 Thread Christian Sprecher (JIRA)
Affects Versions: Engine 2.0.4 Environment: Windows Vista, java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) Reporter: Christian Sprecher Priority: Minor There is a problem

Re: Integrate a Servlet Filter: init-params

2009-06-09 Thread Christian Sprecher
Hi Felix Felix Meschberger schrieb: Actually, the Sling Main Servlet initializes servlets and filters by calling the respective init(ServletConfig) and init(FilterConfig) methods. The parameters provided by the ServletConfig and/or FilterConfig (the traditional init-param settings) are taken

Integrate a Servlet Filter: init-params

2009-06-08 Thread Christian Sprecher
Hi all In order to make a servlet filter available to sling, how are the the init-param made available to the servlet filter? Those parameters are usually defined in web.xml Thx in advance

Re: (In)Security in Sling

2009-06-02 Thread Christian Sprecher
Hi all This is something that has been nagging me for a while now: imho the whole JSR 283 security stuff looks good from the JCR context, but Sling is a different beast: it is a web framework, and therefore susceptible to the whole web attack vectors, like information disclosure (e.g. unwanted

Re: Best way to handle reusable scripts

2009-05-20 Thread Christian Sprecher
Hey Felix Thx for your answer. Felix Meschberger schrieb: Hi Christian, Christian Sprecher schrieb: Hi all Maybe a silly question: what is the best way to create reusable scripts? By reusable I primarly mean for related resources. Well, if it just for executing the same scripts

Best way to handle reusable scripts

2009-05-19 Thread Christian Sprecher
Hi all Maybe a silly question: what is the best way to create reusable scripts? By reusable I primarly mean for related resources. I am currently aware of 3 possibilites: 1) the *.esp way with the load() function, which afaik loads evaluates a script 2) the *.jsp way with compilation and

Problems with script execution

2009-05-14 Thread Christian Sprecher
Hi all I've tried to trigger a script, both groovy and esp. I am recieving the exception pasted below. Can anybody make any sense out of it? Cheers Christian (500) The requested URL /controlmanagement/rulebook.html resulted in an error in /apps/test/html.esp. Exception:

[jira] Closed: (SLING-315) Groovy support

2008-12-12 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Sprecher closed SLING-315. Groovy support -- Key: SLING-315 URL: https

[jira] Commented: (SLING-315) Groovy support

2008-12-12 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12655994#action_12655994 ] Christian Sprecher commented on SLING-315: -- superb work, thank you all! Groovy

[jira] Commented: (SLING-315) Groovy support

2008-12-09 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12654795#action_12654795 ] Christian Sprecher commented on SLING-315: -- Ah, my bad, I didn't read the whole

[jira] Commented: (SLING-315) Groovy support

2008-12-09 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12654931#action_12654931 ] Christian Sprecher commented on SLING-315: -- Ok, I have tested it. It works. Now

[jira] Commented: (SLING-315) Groovy support

2008-12-08 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12654572#action_12654572 ] Christian Sprecher commented on SLING-315: -- Hey guys I am unsure on how to use

Binary values

2008-11-01 Thread Christian Sprecher
Hey folks What is your take on binary values? I know about the file uploading stuff, but what should I do if I want to store binary property values? Should I base64-encode the value and decode it on the server side again? Is this a valid question anyways? Thx in advance Christian Sprecher

[jira] Updated: (SLING-315) Groovy support

2008-03-08 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Sprecher updated SLING-315: - Attachment: diff.txt Patch containing a project in sling/scripting/groovy which enables

[jira] Updated: (SLING-315) Groovy support

2008-03-08 Thread Christian Sprecher (JIRA)
[ https://issues.apache.org/jira/browse/SLING-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Sprecher updated SLING-315: - Attachment: groovy.tar.gz the whole sling/scripting/groovy project Groovy support

Re: various questions regarding alternative scripting engines

2008-02-18 Thread Christian Sprecher
I would suggest keeping our focus on the javascript and JSP engines for now, until we have a first release of Sling. Other script engines might work, and they demonstrate that it's possible to integrate other languages, but personally I don't want to spend time improving them at the moment, we