Skip to content

Support (+) on JOINED_FILTERS #15869

Description

@robertoschwald

It would be handy to also support (+) on JOINED_FILTERS, e.g. for BasicAuth on a url-pattern, otherwise you need to state the whole default filter chain, or need to add the new filter using SpringSecurityUtils.clientRegisterFilter.

(+) should allow to add to the start or tail of the list, depending on its position relatively to JOINED_FILTERS.

e.g.:

[pattern:'/api/**', filters: '+myFilter, JOINED_FILTERS, -securityContextPersistenceFilter, -exceptionTranslationFilter'],

In this example, a myFilter is added to the head of the list.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions