[
https://issues.apache.org/jira/browse/SLING-11121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487660#comment-17487660
]
Roy Teeuwen commented on SLING-11121:
-------------------------------------
[~cziegeler] why is it an anti pattern to register other services in an
activate method?
> Avoid registering service in activate method
> --------------------------------------------
>
> Key: SLING-11121
> URL: https://issues.apache.org/jira/browse/SLING-11121
> Project: Sling
> Issue Type: Improvement
> Components: Sling Security
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Security 1.1.24
>
>
> The referrer filter is currently registering a web console plugin during
> activate() . However, service registry calls during activate is an
> anti-pattern that should be avoided
--
This message was sent by Atlassian Jira
(v8.20.1#820001)