[AAA-237] Select only specifically-marked Filters for CustomFilterAdapterConfiguration Created: 22/Sep/22  Updated: 09/Nov/22  Resolved: 02/Nov/22

Status: Resolved
Project: aaa
Component/s: General
Affects Version/s: None
Fix Version/s: 0.17.0

Type: Task Priority: High
Reporter: Robert Varga Assignee: Oleksandr Zharov
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from AAA-235 StackOverflowError in aaa-filterchain Resolved

 Description   

aaa-filterchain monitors the OSGi registry for servlet filters being added and routes them to CustomFilterAdapter. As demonstrated by AAA-235 this can lead to confusion, as filters may be published for other purposes as well.

Introduce a well-known property name, "org.opendaylight.aaa.filterchain.filter", which needs to be set to "true" on any published filter for it to be selected by CustomFilterAdapterConfigurationImpl.



 Comments   
Comment by Ivan Hrasko [ 27/Oct/22 ]

I think we should use "org.opendaylight.aaa.filterchain.filters" instead of "org.opendaylight.aaa.filterchain.filter" (missing "s").

Generated at Wed Feb 07 19:09:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.