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

Carsten Ziegeler commented on SLING-11578:
------------------------------------------

Register ServletContextHelper via DS - this will make the Sling Main Servlet 
only available if the context is registered  - and the context is only 
registered if the authencation support is registered.
https://github.com/apache/sling-org-apache-sling-engine/commit/e196b05ee2dbef7b5ba1ca96a6adccfbc0fb4861

> Make authenticator and servlets resovler required for main servlet
> ------------------------------------------------------------------
>
>                 Key: SLING-11578
>                 URL: https://issues.apache.org/jira/browse/SLING-11578
>             Project: Sling
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: Engine 2.11.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Engine 2.11.4
>
>
> We currently have some strange code: the sling main servlet is available 
> immediately but then registers parts of the functionality only once the 
> authenticator and servlets resolver are available. And then there is code 
> here and there checking if those services are really available.
> We can probably simplify this a lot of we make the required 
> services...required and let DS handle it



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to