You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/06/29 16:34:00 UTC

[jira] [Created] (OAK-10332) Ease using o.a.j.o.spi.security.authorization.principalbased.impl.FilterProviderImpl outside OSGi containers

Konrad Windszus created OAK-10332:
-------------------------------------

             Summary: Ease using o.a.j.o.spi.security.authorization.principalbased.impl.FilterProviderImpl outside OSGi containers
                 Key: OAK-10332
                 URL: https://issues.apache.org/jira/browse/OAK-10332
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: authorization-principalbased
            Reporter: Konrad Windszus


Currently the only way to use https://github.com/apache/jackrabbit-oak/blob/25c01b81768c77e558078a92a31309910902f3a0/oak-authorization-principalbased/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/FilterProviderImpl.java#L62 is by letting an OSGi Service Component runtime manage it. Outside OSGi containers the implementations cannot be reused as the only way to initialize it is calling the protected method {{activate(...)}} or the private method {{setPath(...)}}. Both expect a parameter of type {{FilterProviderImpl.Configuration}} which is not public either.



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