Very nice. I'll check this out. Thanks!

On Aug 20, 2009, at 1:50 AM, Bertrand Delacretaz <[email protected]> wrote:

Hi,

On Thu, Aug 20, 2009 at 8:36 AM, Felix Meschberger<[email protected]> wrote:
John Crawford schrieb:
Does anyone know if it possible to modify data / structure in another workspace (outside of the current sling sandbox) if the user has the proper
credentials to that workspace?

The SlingPostServlet itself cannot do this at the moment: It is using
the session of the current request and thus only has access to the
workspace of the session.

According to https://issues.apache.org/jira/browse/SLING-727,
implementing a custom AuthenticationHandler (or improving the existing
AuthorizationHeaderAuthenticationHandler [1]) would allow you to
specify a workspace at login.

Sling would need to fall back to the default workspace to find scripts
- that should work in theory, but there might be some bugs as I'm not
sure if people are currently using this.

-Bertrand

[1] 
http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/AuthorizationHeaderAuthenticationHandler.java

Reply via email to