Re: Buddy classloading

2009-10-27 Thread Ian Boston
Fantastic, thank you. I will give it a go. Ian On 27 Oct 2009, at 04:12, Carsten Ziegeler wrote: I think we faced this problem when we just bundle mail and activation a long time ago. I don't remember the details, but the bundle at Apache Felix Commons: http://svn.apache.org/repos/asf/felix/t

[jira] Updated: (SLING-1161) Easier initial content loading of binary files

2009-10-27 Thread Vidar S. Ramdal (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vidar S. Ramdal updated SLING-1161: --- Attachment: SLING-1161.patch Updated patch > Easier initial content loading of binary files

[jira] Updated: (SLING-1161) Easier initial content loading of binary files

2009-10-27 Thread Vidar S. Ramdal (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vidar S. Ramdal updated SLING-1161: --- Attachment: (was: SLING-1161.patch) > Easier initial content loading of binary files > --

[jira] Resolved: (SLING-1161) Easier initial content loading of binary files

2009-10-27 Thread Vidar S. Ramdal (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vidar S. Ramdal resolved SLING-1161. Resolution: Fixed Assignee: Vidar S. Ramdal Patch applied in rev#830106 > Easier ini

[jira] Resolved: (SLING-1123) Atom Taglib: ids have wrong escaping

2009-10-27 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek resolved SLING-1123. -- Resolution: Duplicate > Atom Taglib: ids have wrong escaping >

[jira] Commented: (SLING-1013) Feed Entry IDs are URL-encoded

2009-10-27 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770448#action_12770448 ] Alexander Klimetschek commented on SLING-1013: -- This is about the Atom Taglib.

[jira] Resolved: (SLING-1131) i18n: do not enforce a flat node hierarchy below mix:language

2009-10-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-1131. Resolution: Fixed Fix Version/s: I18n 2.0.2 Patch applied in revision 830127

Re: Buddy classloading

2009-10-27 Thread carl . hall
To clarify our situation a bit, the activation bundle finds its own META-INF/mailcap.defaults but is unable to see META-INF/mailcap in the javamail bundle because of the separation of classloaders. Given this needed relationship, I believe we've run out of options except to put activation and

[jira] Updated: (SLING-1013) Atom taglib: feed entry IDs should not be URL-encoded

2009-10-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-1013: --- Assignee: Bertrand Delacretaz Summary: Atom taglib: feed entry IDs should not be

Posts to non-existing resources with "." in parent path

2009-10-27 Thread Tobias Bocanegra
hi, i want to create a new node below a path that contains a dot, eg: POST /foo.bar/content/* ./jcr:primaryType = "nt:unstructured" this fails, because the path is truncated after the first dot (i.e. at /foo). if i do a POST with a trailing slash, it works: POST /foo.bar/content/ ./jcr:primaryTy

[jira] Resolved: (SLING-1013) Atom taglib: feed entry IDs should not be URL-encoded

2009-10-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-1013. Resolution: Fixed Fix Version/s: Scripting JSP-Atom-Taglib 1.0.0 Patch appli

Re: Buddy classloading

2009-10-27 Thread Paul Mietz Egli
On Oct 27, 2009, at 7:52 AM, dev-digest-h...@sling.apache.org wrote: To clarify our situation a bit, the activation bundle finds its own META-INF/mailcap.defaults but is unable to see META-INF/mailcap in the javamail bundle because of the separation of classloaders. Given this needed rela

Re: Buddy classloading

2009-10-27 Thread Carl F. Hall
I merged activation with mail into one bundle to fix our situation. My concern with trading around classloaders is that the call to build the CommandMap (what loads the mailcap files) is static (CommandMap.getDefaultCommandMap()) and holds the reference, so if another bundle is able to make the

Re: JSP Compilation

2009-10-27 Thread carl . hall
My scenario is that I've wrapped the ActiveMQ web console and added an OSGi manifest. When I load this into Sling, I get the source codeof the jsp. I added the Pax Web JSP bundle but was still unsuccessful. It did attempt to compile the jsp but it has a problem using its own version of Jasper.

AuthenticationHandlers

2009-10-27 Thread D. Stuart Freeman
I'm trying to write an AuthenticationHandler for CAS, I've looked at the OpenID handler to get an idea of how this should work. It looks like authenticate() gets called for every request and if it can't authenticate the user then requestAuthentication() gets called to prompt a login. I can't figu

RE: [jira] Resolved: (SLING-1161) Easier initial content loading of binary files

2009-10-27 Thread Mike Müller
Hi Vidar I like this extension, except for the default of the last modified date which will be set to the current date if the attribute lastModified is not set. IMHO it would be better to take the last modified date of the binary itself in this case than the current date. best regards mike > ---

Re: AuthenticationHandlers

2009-10-27 Thread Ian Boston
The doc at [1] is good. The main thing to remember is the OSGi HttpService calls handleSecurity on the HttpContext registered against the URL. In the case of Sling, the SlingMainServlet implements HttpContext.handleSecurity that calls the SlingAuthenticator which then selects an Authenticat

Post-authentication actions

2009-10-27 Thread Carl F. Hall
Is there a plug point for performing actions post authentication? My scenario is that we'll have a CAS authentication handler that after a user passes through successfully we'll need to get the user's information (profile type stuff) from the enterprise directory that doesn't live in JCR. Some

Re: AuthenticationHandlers

2009-10-27 Thread D. Stuart Freeman
On Tue, Oct 27, 2009 at 08:52:49PM +, Ian Boston wrote: > The doc at [1] is good. The main thing to remember is the OSGi > HttpService calls handleSecurity on the HttpContext registered > against the URL. In the case of Sling, the SlingMainServlet > implements HttpContext.handleSecurity that ca

Re: AuthenticationHandlers

2009-10-27 Thread Ian Boston
On 27 Oct 2009, at 22:25, D. Stuart Freeman wrote: On Tue, Oct 27, 2009 at 08:52:49PM +, Ian Boston wrote: The doc at [1] is good. The main thing to remember is the OSGi HttpService calls handleSecurity on the HttpContext registered against the URL. In the case of Sling, the SlingMainServl

Re: Sling based project

2009-10-27 Thread J Aaron Farr
On Wed 21 Oct 2009 01:26, paksegu wrote: > Hi, Supposingly i want to create a project or app (eg Sakai), wich > maven pom (artifact) will I have to include in my project? I am > thinking the Apache Sling Launchpad Bundles pom will be a good > starting point, WDYT?   I think it would be useful f

sling hacking @ ApacheCon US 2009

2009-10-27 Thread J Aaron Farr
Which sling developers will be at ApacheCon US next week? Are there any goals or plans for the hackathon? I'd like to sit down and pick someone's brain on some simple questions and I'd like to contribute some basic documentation. -- J. Aaron Farr 馮傑仁 www.cubiclemuses.com

Re: Buddy classloading

2009-10-27 Thread Carsten Ziegeler
carl.h...@et.gatech.edu wrote: > To clarify our situation a bit, the activation bundle finds its own > META-INF/mailcap.defaults but is unable to see META-INF/mailcap in the > javamail bundle because of the separation of classloaders. Given this needed > relationship, I believe we've run out of

Re: sling hacking @ ApacheCon US 2009

2009-10-27 Thread Carsten Ziegeler
J Aaron Farr wrote: > Which sling developers will be at ApacheCon US next week? > > Are there any goals or plans for the hackathon? > > I'd like to sit down and pick someone's brain on some simple questions > and I'd like to contribute some basic documentation. > I'll be around starting monday a

Re: Sling based project

2009-10-27 Thread Bertrand Delacretaz
On Wed, Oct 28, 2009 at 2:04 AM, J Aaron Farr wrote: > ...I think it would be useful for sling to provide a maven archetype or > even just a starter pom.xml for sling bundles +1 for a maven archetype...patches welcome ;-) -Bertrand

Re: sling hacking @ ApacheCon US 2009

2009-10-27 Thread Bertrand Delacretaz
On Wed, Oct 28, 2009 at 2:08 AM, J Aaron Farr wrote: > > Which sling developers will be at ApacheCon US next week? I'll be around from Monday around mid day to Friday noon. > Are there any goals or plans for the hackathon? > > I'd like to sit down and pick someone's brain on some simple question