[ 
https://issues.apache.org/jira/browse/SLING-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058128#comment-17058128
 ] 

Bertrand Delacretaz commented on SLING-9055:
--------------------------------------------

bq. I think this should rather be write-protected....

I agree but I'm not sure how to do that in a simple way, if you have a trick 
for that using a meta-annotation I'm all ears - patches or RTFM links welcome!

> Implement a new SlingServletPathsStrict annotation
> --------------------------------------------------
>
>                 Key: SLING-9055
>                 URL: https://issues.apache.org/jira/browse/SLING-9055
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>    Affects Versions: Sling Servlet Annotations 1.2.4
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Sling Servlet Annotations 1.2.6, Servlets Resolver 2.6.6
>
>
> We need a new annotation to use the new {{sling.servlet.paths.strict}} mode 
> introduced by SLING-8110, allowing to specify the extension, selectors and 
> methods (all optional) that this mode takes into account.
> As discussed on the Sling dev list, this annotation should use a 
> {{@Requirement}} meta-annotation [1] to generate an OSGi requirement for the 
> version of the 
> {{o.a.s.servlets.resolver}} bundle which includes this functionality.
> [1] 
> https://osgi.org/specification/osgi.core/7.0.0/framework.api.html#org.osgi.annotation.bundle.Requirement



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to