But you always get something in return for all those layers and layers of abstraction. For me most of the time it was a lot of Java/Spring features I didn’t know existed and after that I realized they were pointless.
Noooo, you have to override 50% of the class methods to hard couple your filter’s implementation to an event-bus-style bean with Spring in the package name to avoid NIH! What if someone needs to extend your Authentication Provider in the future but can only use a limited quota of keystrokes to implement their ticket as an inobvious side-effect? How else will they add the aud from your JWT to the MDC? Some kind of pointcut??
But you always get something in return for all those layers and layers of abstraction. For me most of the time it was a lot of Java/Spring features I didn’t know existed and after that I realized they were pointless.
Noooo, you have to override 50% of the class methods to hard couple your filter’s implementation to an event-bus-style bean with Spring in the package name to avoid NIH! What if someone needs to extend your Authentication Provider in the future but can only use a limited quota of keystrokes to implement their ticket as an inobvious side-effect? How else will they add the
audfrom your JWT to the MDC? Some kind of pointcut??Thanks god my attention span is way too low to comprehend all of that
Why does it sound like you’re writing plugins for Keycloak?