sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marius Petria (JIRA)" <>
Subject [jira] [Commented] (SLING-7468) Allow to configure the Distribution Resource Provider
Date Mon, 05 Mar 2018 13:34:00 GMT


Marius Petria commented on SLING-7468:

[~marett] I haven't looked yet at your patch but I wanted to share something from the initial
design intent. From a security perspective there should be very little flexibility on what
configs should be exposed as resources. We should hardcode the exact osgi factories that are
available through the provider to avoid random osgi config editing. As I said, I do not know
if your patch violates this principle, so if the comment is misplaced please ignore it.

> Allow to configure the Distribution Resource Provider
> -----------------------------------------------------
>                 Key: SLING-7468
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Timothee Maret
>            Assignee: Timothee Maret
>            Priority: Major
>             Fix For: Content Distribution Core 0.3.0
> SCD maintain its own Resource Provider
> The implementation maps OSGI configurations and services as sling resources.
> The implementation is not flexible to allow plugging a custom agent in the resource tree.
> The mapping seems to be done currently in enums, for instance
> This issue is about making the configuration flexible (OSGI properties) or even configuration-less
(figure out the mappings at runtime). As a side effect, the implementation may be simplified.

> [~teofili],[~simone.tripodi] FYI

This message was sent by Atlassian JIRA

View raw message