demos/spring-boot
12 months agoTODO: Spring-Security -> Principal aus Header bestimmen annotation-interceptor
Kai Moritz [Mon, 10 Apr 2023 15:08:45 +0000 (17:08 +0200)]
TODO: Spring-Security -> Principal aus Header bestimmen

- Hier ist beschrieben, wie der Mechanismus für eine Login-URL erweitert
  werden kann:
  https://stackoverflow.com/questions/61726043/how-to-create-a-principal-based-on-an-arbitrary-http-header
- Wahrscheinlich wird aber eher ein Mechanismus ähnlich den
  RememberMeServices benötigt.
- Oder ähnlich dem Umgang mit OAuth2-Tokens, die bei jedem Request
  vorhanden sind und aus denen der Principal dann auf Per-Request-Basis
  wiederhergestellt wird.

12 months agoImplemented an interceptor, that forbiddes access according to a header
Kai Moritz [Sun, 9 Apr 2023 18:41:49 +0000 (20:41 +0200)]
Implemented an interceptor, that forbiddes access according to a header

12 months agoAdded a `@RestController` status-interceptor
Kai Moritz [Sun, 9 Apr 2023 13:17:22 +0000 (15:17 +0200)]
Added a `@RestController`

12 months agoDemo: Send Status-Code in InterceptorHandler
Kai Moritz [Fri, 7 Apr 2023 11:20:11 +0000 (13:20 +0200)]
Demo: Send Status-Code in InterceptorHandler

12 months agoSpring Initializr: 3.1.0-M2 / Spring WebMVC / Thymeleaf master
Kai Moritz [Sun, 9 Apr 2023 07:56:14 +0000 (09:56 +0200)]
Spring Initializr: 3.1.0-M2 / Spring WebMVC / Thymeleaf

- Migrated the template to WebMVC

12 months agoAdded a test that asserts, that the welcome page can be loaded
Kai Moritz [Fri, 7 Apr 2023 12:27:23 +0000 (14:27 +0200)]
Added a test that asserts, that the welcome page can be loaded

12 months agoUpgrade auf Spring-Boot 3.1.0-M2
Kai Moritz [Fri, 7 Apr 2023 12:10:03 +0000 (14:10 +0200)]
Upgrade auf Spring-Boot 3.1.0-M2

12 months agoTried to add a static welcome page -- without success :/
Kai Moritz [Fri, 7 Apr 2023 11:41:49 +0000 (13:41 +0200)]
Tried to add a static welcome page -- without success :/

12 months agoSpring Initializr: 2.2.4 / Spring Webflux / Thymeleaf
Kai Moritz [Tue, 21 Jan 2020 12:07:45 +0000 (13:07 +0100)]
Spring Initializr: 2.2.4 / Spring Webflux / Thymeleaf