Skip to content

fResult/poc-webflux-security

Repository files navigation

POC Webflux Security

POC Spring Boot 4.0 with Webflux and Security

Pre-requisites

  • Java 21
  • Gradle 8.14
  • Kotlin 2.2

Running the Project

Build

./gradlew clean build

Run App

./gradlew bootRun

APIs

Rest Controller Endpoints

GET /rc/greetings

curl http://localhost:8080/rc/greetings --user fResult:fResult123
{"greetings":"Hello, from Rest Controller, fResult"}⏎

GET /rc/greetings-with-roles

curl http://localhost:8080/rc/greetings-with-roles --user fResult:fResult123
{"greetings":"Hello, from Rest Controller with roles, [ROLE_USER]"}⏎  

Functional Endpoints

GET /fe/greetings

curl http://localhost:8080/fe/greetings --user fResult:fResult123
{"greetings":"Hello, from Functional Endpoint, fResult"}⏎

GET /fe/greetings-with-roles

curl http://localhost:8080/fe/greetings-with-roles --user fResult:fResult123
{"greetings":"Hello, from Functional Endpoint with roles, [ROLE_USER]"}⏎  

About

POC Spring Webflux and Security, and experiment Spring Boot 4.0

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages