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

Konrad Windszus reassigned OAK-10332:
-------------------------------------

    Assignee: Konrad Windszus

> 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
>            Assignee: Konrad Windszus
>            Priority: Minor
>
> 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)

Reply via email to