All posts tagged with 'Spring'

Spring Security 5.1: Upgrade / Rehash stored passwords

15-Aug-19

In this post from early 2018, I described the new password infrastructure of Spring Security 5.0. As the post got some feedback the last couple of days, I jumped back a bit into Spring Security code and noticed this method here: PasswordEncoder#upgradeEncoding. Hm, what does it do? It turns out, it works together with the […]

Read the complete article »

Oh, all that entitlement…

13-Jul-19

There was a tiny tweet yesterday, resurrecting a talk from Christin: In 2011 I saw @ChristinGorman hold this fantastic lightning talk/rant at JavaZone, and I have never forgotten it. So, Christin, if you want some return on investment on your speaking, look no further. Here is this gem for you all to enjoy https://t.co/cBRRDg90EP — […]

Read the complete article »

Separation of concerns in Spring applications

17-May-19

TL;DR: Don’t surprise your fellow developers. Yesterday I learned – or realized again, don’t know – that one can add @CompenenScan to all Spring components and not only to @Configuration components: TIL A @​ComponentScan on a @​Service class in #Spring actually works and contributes to the application context. 🤯 — Michael Simons (@rotnroll666) May 16, […]

Read the complete article »

Validate nested Transaction settings with Spring and Spring Boot

25-Sep-18

The Spring Framework has had an outstanding, declarative Transaction management for years now. The configurable options maybe overwhelming at first, but important to accommodate many different scenarios. Three of them stick out: propagation, isolation and to some lesser extend, read-only mode (more on that a bit later) propagation describes what happens if a transaction is […]

Read the complete article »

NetBeans IDE plugin supporting programming with Spring Boot

19-Jun-16

There are several plugins out there for supporting Spring development in NetBeans, but the NB-SpringBoot by Alessandro Falappa seems to be the most feature complete. At the moment installation must be done via manual download from here but that should be fixed soon. You’ll get a really nice Spring property support: Great integration with start.spring.io: […]

Read the complete article »