Fading Coder

One Final Commit for the Last Sprint

Intercepting and Parsing Field-Level Custom Annotations on Method Parameters in Spring Boot

Intercepting and Parsing Field-Level Custom Annotations on Method Parameters in Spring Boot
Technical Approach Parsing annotations on class fields is straightforward. The approach used here involves: Creating a custom MethodInterceptor that intercepts the target business methods. It retrieves the array of method arguments, iterates over each argument, inspects all fields of each argument...

Implementing Service Authorization and Internal Authentication with Custom Annotations and Spring AOP

Spring AOP (Aspect-Oriented Programming) enables the separation of cross-cuting concerns like security from core bussiness logic. By defiinng aspects, join points, pointcuts, and advices, we can add authorization and authentication capabilities to service interfaces without altering the original cod...