Securing Spring Boot Microservices with JWT and Redis
Introduction to Application Security
Spring Security is a powerful framework designed to handle authentication and authorization within Java applications. In modern web architectures, security primarily revolves around two core concepts:
Authentication (AuthN): Verifying the identity of a user. This typically involves validating credentials su ...
Posted on Wed, 05 Aug 2026 16:48:49 +0000 by Templar
Implementing Enterprise HR Management with SpringBoot, Vue, and Uniapp WeChat Mini Program
The enterprise human resource management system utilizes a modern technology stack combining SpringBoot for backend services, Vue.js for web frontend, and Uniapp for WeChat Mini Program development. This architecture provides a scalabel and maintainable solution for HR operations.
Backend: SpringBoot Framework
SpringBoot simplifies backend deve ...
Posted on Wed, 05 Aug 2026 16:04:29 +0000 by fahad
Implementing JWT-Based Authentication and Authorization with Spring Security
This guide provides a comprehensive walkthrough for building robust authentication and authorization mechanisms using Spring Security with JWT tokens, Redis session storage, and database-backed user management.
Core Concepts of Access Control
Any system involving user participation requires access control mechanisms as part of its security arch ...
Posted on Sat, 25 Jul 2026 16:21:40 +0000 by THW
Integrating Spring Security for Token-Based Authentication and Authorization
1. Introduction to Spring Security
1.1 Framework Overview
Spring is a highly popular and successful Java application development framework. Spring Security, built upon the Spring framework, provides a comprehensive solution for web application security. Generally, web application security includes two parts: user authentication and user authori ...
Posted on Fri, 24 Jul 2026 16:28:33 +0000 by bobbyM
PyJWT: A Comprehensive Guide to JSON Web Token Implementation in Python
PyJWT: A Comprehensive Guide to JSON Web Token Implementation in Python
JSON Web Tokens (JWT) provide a compact, secure method for transmitting information between parties as JSON objects. PyJWT is a powerful Python library that enables developers to create, parse, and verify JWT tokens with ease. This article explores the fundamentals of PyJWT ...
Posted on Mon, 20 Jul 2026 17:06:30 +0000 by dkode
Building Production-Ready Node.js Applications: Database Integration, Authentication, and API Management
1. MongoDB Fundamentals
Relational vs Non-Relational Databases
Relational databases rely on SQL for operations and maintain strict ACID (Atomicity, Consistency, Isolation, Durability) compliance through transaction mechanisms. Common examples include MySQL, SQL Server, DB2, and Oracle.
Non-relational databases, often referred to as "Not On ...
Posted on Mon, 20 Jul 2026 16:34:25 +0000 by inVINCEable
Implementing Seamless Token Refresh in Web Applications
Users may experience abrupt session terminations and forced logouts during system operations, often due to expired authentication tokens. This issue persists even when Redis caches user IDs and token data. The core problem lies in token expiration invalidating user identity.
Automatic token refresh mechanisms provide solutions by generating new ...
Posted on Fri, 17 Jul 2026 17:00:56 +0000 by nariman
Implementing Global Exception Handling and Admin Authentication in Spring Boot
Global Exception Handling in Spring Boot Applications
In production applications, unhandled exceptions can expose internal system details to users. Implementing global exception handling ensures consistent error responses and improves user experience.
Creating a Global Exception Handler
Create an exception handling component in your common modu ...
Posted on Fri, 17 Jul 2026 16:44:56 +0000 by Bismark12
Bypassing JWT Authentication via Hardcoded Secret
{
"header": {
"typ": "JWT",
"alg": "HS256"
},
"payload": {
"type": 0,
"uuid": "04ad4a8524694c05bd6896d582a2f784",
"tenant": "tenantCode",
"username": "admin"
},
"signature" ...
Posted on Wed, 01 Jul 2026 16:39:19 +0000 by LeslieHart
Implementing Cross-Origin Policies, API Documentation, Exception Management, and JWT Authentication in Spring Boot
Understanding and Resolving Cross-Origin Requests
Cross-Origin Resource Sharing (CORS) is triggered when a browser attempts to fetch resources from an origin differing in protocol, domain, or port from the current page. In decoupled frontend-backend architectures, this restriction enforced by the Same-Origin Policy requires explicit configurati ...
Posted on Sun, 28 Jun 2026 17:30:32 +0000 by akimm