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

Stefan Bischof edited comment on ARIES-1785 at 2/21/18 9:28 AM:
----------------------------------------------------------------

Hi Carlos,

the RSWhiteboard should be able to handle this scenario: 

I have a extension "BasicAuthSecurityFilter" with the component-property 
"extension.security=true"

Then I would add an Applications that should uses this BasicAuthSecurityFilter 
"osgi.jaxrs.extension.select=(extension.security=true)"

But I have a second Application that *should not use BasicAuthSecurityFilter*.

if I do "osgi.jaxrs.extension.select=(extension.security=*false*)" the 
Application will not activate
if I do not use any "osgi.jaxrs.extension.select" it will  have the 
BasicAuthSecurityFilter.


Is there any option at the moment?

I think the extension should decide that between an "global" or "select_only" 
option 

regards 
Stefan



was (Author: bisch...@jena.de):
Hi Carlos,

the RSWhiteboard should be able to handle this scenario: 

I have a extension "BasicAuthSecurityFilter" with the component-property 
"extension.security=true"

Then I would add an Applications that should uses this BasicAuthSecurityFilter 
"osgi.jaxrs.extension.select=(extension.security=true)"

But I have a second Application that *should not use BasicAuthSecurityFilter*.

if I do "osgi.jaxrs.extension.select=(extension.security=*false*)" the 
Application will not activate
if I do not use any "osgi.jaxrs.extension.select" it will  have the 
BasicAuthSecurityFilter.


Is there any option at the moment?

regards 
Stefan


> Application without JAX_RS_EXTENSION_SELECT fetchs Extension
> ------------------------------------------------------------
>
>                 Key: ARIES-1785
>                 URL: https://issues.apache.org/jira/browse/ARIES-1785
>             Project: Aries
>          Issue Type: Bug
>          Components: jax-rs-whiteboard
>    Affects Versions: jax-rs-whiteboard-1.0.0
>            Reporter: Stefan Bischof
>            Priority: Major
>         Attachments: test.txt
>
>
> Hi,
> an application without any JAX_RS_EXTENSION_SELECT property fetchs a 
> extention.
> see the attached test for more information.
> (could be paste into org.apache.aries.jax.rs.itests  test.JaxrsTest.java)
> regards



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to