Skip to content

No API to perform formLogin and logout on webflux #5767

@bkolb

Description

@bkolb

Summary

While SecurityMockMvcRequestBuilders provides APIs to perform a formLogin and logout, there seems to be no equivalent for the reactive stack.

Configuration

My current configuration looks as follow:

    @Before
    public void setup() {
        this.rest = WebTestClient
            .bindToApplicationContext(this.context)
            .apply(springSecurity())
            .configureClient()
            .filter(basicAuthentication())
            .build();
    }

Instead of the basicAuthentication filter, I'd like to use a formAuthentication
Also a Utility to perform a logout is required.

Version

5.0.6.RELEASE

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: ideal-for-contributionAn issue that we actively are looking for someone to help us with

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions