You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/02/04 10:07:00 UTC

[jira] [Resolved] (SLING-11121) Avoid registering service in activate method

     [ https://issues.apache.org/jira/browse/SLING-11121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-11121.
--------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/sling-org-apache-sling-security/commit/2e2f7350e3fb8a9a9f25a2db0d001b9b062081fa

> 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)