You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (Created) (JIRA)" <ji...@apache.org> on 2011/11/09 01:41:52 UTC

[jira] [Created] (SLING-2275) simplify path configuration for SlingDavExServlet

simplify path configuration for SlingDavExServlet
-------------------------------------------------

                 Key: SLING-2275
                 URL: https://issues.apache.org/jira/browse/SLING-2275
             Project: Sling
          Issue Type: Improvement
            Reporter: Justin Edelson


The path is specified two (soon to be three with SLING-2274) times in the configuration for the SlingDavExServlet and these values must be in sync. Only the "alias" property should be required. The other properties should be inferred from the value of alias.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (SLING-2275) simplify path configuration for SlingDavExServlet

Posted by "Felix Meschberger (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-2275:
----------------------------------------

    Assignee: Felix Meschberger
    
> simplify path configuration for SlingDavExServlet
> -------------------------------------------------
>
>                 Key: SLING-2275
>                 URL: https://issues.apache.org/jira/browse/SLING-2275
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR DavEx 1.0.0
>            Reporter: Justin Edelson
>            Assignee: Felix Meschberger
>             Fix For: JCR DavEx 1.1.0
>
>
> The path is specified two (soon to be three with SLING-2274) times in the configuration for the SlingDavExServlet and these values must be in sync. Only the "alias" property should be required. The other properties should be inferred from the value of alias.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SLING-2275) simplify path configuration for SlingDavExServlet

Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-2275.
--------------------------------------

    Resolution: Fixed

Consolidated configuration in Rev. 1199645
  - use OsgiUtil to convert the configuration property
  - prevent indirect dependencies making Jackrabbit deps provided
  - preset Jackrabbit DavEx config:
      path prefix: same as servlet registration path
      home/tmp directory: sling.home/jackrabbit/tmp
      csrf protection: disabled
      no other parameters are set
  - use Sling settings to get sling.home location

CSRF protection is disabled because it is not the task of the DavEx servlet to do that.
                
> simplify path configuration for SlingDavExServlet
> -------------------------------------------------
>
>                 Key: SLING-2275
>                 URL: https://issues.apache.org/jira/browse/SLING-2275
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR DavEx 1.0.0
>            Reporter: Justin Edelson
>            Assignee: Felix Meschberger
>             Fix For: JCR DavEx 1.1.0
>
>
> The path is specified two (soon to be three with SLING-2274) times in the configuration for the SlingDavExServlet and these values must be in sync. Only the "alias" property should be required. The other properties should be inferred from the value of alias.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2275) simplify path configuration for SlingDavExServlet

Posted by "Felix Meschberger (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-2275:
-------------------------------------

          Component/s: JCR
    Affects Version/s: JCR DavEx 1.0.0
        Fix Version/s: JCR DavEx 1.1.0
    
> simplify path configuration for SlingDavExServlet
> -------------------------------------------------
>
>                 Key: SLING-2275
>                 URL: https://issues.apache.org/jira/browse/SLING-2275
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR DavEx 1.0.0
>            Reporter: Justin Edelson
>            Assignee: Felix Meschberger
>             Fix For: JCR DavEx 1.1.0
>
>
> The path is specified two (soon to be three with SLING-2274) times in the configuration for the SlingDavExServlet and these values must be in sync. Only the "alias" property should be required. The other properties should be inferred from the value of alias.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2275) simplify path configuration for SlingDavExServlet

Posted by "Felix Meschberger (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146813#comment-13146813 ] 

Felix Meschberger commented on SLING-2275:
------------------------------------------

Actually for SLING-2274 we don't need yet another configuration property. Since the component is not registered as a service (it registers itself with the Http Service because a custom HttpContext is provided), the component is free to deduce the required path from its own configuration.

I agree for the "init.resource-path-prefix", which really is part of the internal implementation detail due to using the Jackrabbit DavEx servlet.
                
> simplify path configuration for SlingDavExServlet
> -------------------------------------------------
>
>                 Key: SLING-2275
>                 URL: https://issues.apache.org/jira/browse/SLING-2275
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Justin Edelson
>
> The path is specified two (soon to be three with SLING-2274) times in the configuration for the SlingDavExServlet and these values must be in sync. Only the "alias" property should be required. The other properties should be inferred from the value of alias.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira