my blog. for you.

Reden wir über Digitales.

Ich bin selbständiger IT Berater und Unternehmer in der Internet und Software Branche. Ich beschäftige mich mit Design, Enterprise Applikationen, Web Apps und SaaS Produkten. Ich entwerfe und entwickle Business Lösungen und Anwendungen. Ich helfe Unternehmen in Sachen Software Qualität und Wissenstransfer, z.B. mit Angular und Spring Boot.

Everything new in Spring Security 6 baked with a Spring Boot 3 recipe by Laur Spilca @ Spring I/O

Leider ist der Eintrag nur auf Britisches Englisch verfügbar. Read more

Spring Boot 3, Spring Security 6, and Angular 15

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Spring Boot is frequently used for business applications conjunction with Angular, with Spring Boot providing REST API endpoints and an Angular app delivering a user front-end on top of those endpoints. To help you get started with that kind of setup, particularly when it comes to the subjects of authentication and authorization and how to keep user data secure between the components involved in such an architecture, these GitHub projects can be quite helpful. ... Read more

Implementing an Oauth 2 Authorization Server With Spring Security – The New Way! by Laurentiu Spilca @ Spring I/O 2022

Leider ist der Eintrag nur auf Britisches Englisch verfügbar. Read more

Clearing the Spring Security Context During Unit Testing

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Last week I wrote about a minimal Spring Security Context setup for unit testing. I'd like to add just a tiny, yet depending on your use case perhaps quite important, tidbit to that: In case you need to reset a SecurityContext setup, e.g., a mocked user authentication, because, for instance, other test methods from the same unit test class verify behaviour for an unauthenticated application state and hence expect an anonymous user, you ... Read more

Minimal Spring Security Context Setup for Unit Testing

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Creating a minimal Spring Security setup for JUnit unit tests can be a tedious as well as somewhat daunting task. With its Authentication, Principal, GrantedAuthority, and UserDetails classes Spring Security is extremely flexible and configurable and probably accommodates pretty much every authentication and authorization use case under the sun. However, in software architecture such flexibility often comes at price, the trade-off in this case being that simple use cases can require more implementation effort ... Read more