Tag

HandlerInterceptor

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 24, 2024 · Backend Development

Master Fine-Grained Permission Control in Spring Boot 3 with JWT and SpEL

This article demonstrates how to implement fine‑grained permission checks in Spring Boot 3 without using Spring Security, by creating custom HandlerInterceptors, JWT utilities, DAO and service layers, and integrating SpEL expressions for dynamic authorization, complete with code snippets and test results.

Backend DevelopmentHandlerInterceptorJWT
0 likes · 13 min read
Master Fine-Grained Permission Control in Spring Boot 3 with JWT and SpEL
Java Architect Essentials
Java Architect Essentials
Oct 20, 2024 · Backend Development

Implementing IP Whitelist in Nginx and Spring Boot with a Custom HandlerInterceptor

This article demonstrates two practical methods for restricting request IPs—configuring allow/deny rules in Nginx and building a Spring Boot whitelist check using a custom HandlerInterceptor, complete with database schema, service logic, and MVC configuration.

Backend DevelopmentHandlerInterceptorIP whitelist
0 likes · 12 min read
Implementing IP Whitelist in Nginx and Spring Boot with a Custom HandlerInterceptor
Top Architect
Top Architect
Jul 24, 2021 · Backend Development

Implementing Login Interception in SpringBoot Using HandlerInterceptor and WebMvcConfigurer

This article explains how to secure a SpringBoot web application by creating a login interceptor with the HandlerInterceptor interface, registering it via WebMvcConfigurer, managing user sessions, and demonstrates the complete code and verification steps to ensure authenticated access.

HandlerInterceptorJavaLogin Interceptor
0 likes · 9 min read
Implementing Login Interception in SpringBoot Using HandlerInterceptor and WebMvcConfigurer