Skip to content
Tagged articles

JWT

344 articles · Page 1 of 4
Su San Talks Tech
Su San Talks Tech
Nov 16, 2026 · Backend Development

Why Developers Choose OnlyOffice for Self-Hosted Document Editing

This article explores OnlyOffice as a self-hosted document editing engine, detailing its API integration, private deployment via Docker, real-time collaboration, white-labeling options, and a complete Spring Boot integration guide with JWT-secured callbacks and versioned document storage.

API integrationCollaborationDocker
0 likes · 32 min read
Why Developers Choose OnlyOffice for Self-Hosted Document Editing
macrozheng
macrozheng
Nov 15, 2026 · Backend Development

JWT in Redis? Understanding Stateless Auth Trade-offs for Interviews

This article explains JWT structure, its stateless design, four scenarios where pure JWT fails (account theft, user ban, password change, token expiry), solutions using Redis blacklist or whitelist, double-token refresh, Redis reliability, when pure JWT fits, and how to articulate trade-offs in interviews.

AuthenticationBlacklistInterview
0 likes · 9 min read
JWT in Redis? Understanding Stateless Auth Trade-offs for Interviews
Architecture Pony
Architecture Pony
Nov 6, 2026 · Backend Development

Spring Cloud Gateway Auth: OAuth2, JWT, and the Layer You Can't Bypass

This article dissects three real-world authentication failures in Spring Cloud Gateway, explaining why gateway-only auth is insufficient, how to reconcile stateless JWT with immediate revocation, and why downstream services must verify internal signatures rather than trust headers, with production-ready code and configuration patterns.

JWTMicroservices SecurityOAuth2
0 likes · 43 min read
Spring Cloud Gateway Auth: OAuth2, JWT, and the Layer You Can't Bypass
LuTiao Programming
LuTiao Programming
Nov 5, 2026 · Backend Development

Instant Account Freeze in Java: One Version Bump Revokes All Tokens & Sessions

This article details a Java implementation for one-click account freezing that uses a security version counter to instantly invalidate all access tokens, refresh tokens, sessions, and trusted devices across multiple clients without maintaining token blacklists, covering distributed caching, audit logging, and recovery flows.

Account FreezeAuthenticationDistributed Caching
0 likes · 23 min read
Instant Account Freeze in Java: One Version Bump Revokes All Tokens & Sessions
Java Tech Enthusiast
Java Tech Enthusiast
Nov 4, 2026 · Backend Development

Java SMS One-Click Login: Complete Production-Ready Implementation with Rate Limiting & Anti-Brute Force

This article provides a complete Java implementation of SMS one-click login using Spring Boot 3, Redis, and JWT, covering business flow, configuration, Redis key design, core service code with rate limiting, blacklist, daily limits, one-time verification codes, login verification with JWT issuance, controller endpoints, production security optimizations including Lua atomic scripts, graphical captcha, channel fallback, risk control, and compliance, plus extension directions like carrier authentication and anomaly detection.

Anti-Brute ForceJWTJava
0 likes · 11 min read
Java SMS One-Click Login: Complete Production-Ready Implementation with Rate Limiting & Anti-Brute Force
CodeSmart Hoops
CodeSmart Hoops
Nov 1, 2026 · Information Security

AuthN vs AuthZ: 5 Selection Dimensions & Choosing Between Custom Redis Session, Sa-Token, Keycloak, and JWT

A comprehensive 12-question guide covering authentication vs authorization fundamentals, stateful vs stateless session trade-offs, five architectural selection dimensions, cost modeling across team sizes, migration strategies from custom sessions to unified identity platforms, JWT token revocation patterns, Keycloak's scope limitations for fine-grained permissions, protocol mixing anti-patterns, and layered auth architecture principles.

Architecture SelectionAuthNAuthZ
0 likes · 26 min read
AuthN vs AuthZ: 5 Selection Dimensions & Choosing Between Custom Redis Session, Sa-Token, Keycloak, and JWT
LuTiao Programming
LuTiao Programming
Oct 31, 2026 · Backend Development

Java Multi-Device Login: Session-Centric Architecture for Device Control & Concurrency

This article details a session-centric Java architecture for multi-device login, covering device session creation, JWT with session IDs, single-device logout, admin forced logout, per-device-type concurrency control using Redis atomic operations, login limits with LRU eviction, device ID generation, refresh token binding, and security considerations for immediate token revocation.

AuthenticationJWTJava
0 likes · 18 min read
Java Multi-Device Login: Session-Centric Architecture for Device Control & Concurrency
LuTiao Programming
LuTiao Programming
Oct 29, 2026 · Backend Development

Java SMS One-Click Login: Complete Implementation with Rate Limiting & Anti-Brute Force

This article provides a complete Java implementation of SMS one-click login using Spring Boot 3, Redis, and JWT, covering business flow, configuration, Redis key design, code for verification code generation, rate limiting, blacklist, and login validation, plus production security optimizations like Lua scripts, CAPTCHA, channel fallback, and compliance.

Anti-Brute ForceJWTJava
0 likes · 10 min read
Java SMS One-Click Login: Complete Implementation with Rate Limiting & Anti-Brute Force
Architect's Guide
Architect's Guide
Oct 24, 2026 · Backend Development

Silent Token Refresh: Access vs Refresh Tokens with JWT Implementation

This article explains why silent token refresh is needed to prevent sudden logouts, demonstrates backend automatic token renewal using Java JWT (jjwt 0.9.1) with Maven dependencies, details the dual-token (AT/RT) frontend pattern for security and convenience, and discusses handling edge cases like long-idle form submissions that cause 401 errors.

AuthenticationJWTJava
0 likes · 10 min read
Silent Token Refresh: Access vs Refresh Tokens with JWT Implementation
Cilantro Loves Linux
Cilantro Loves Linux
Oct 13, 2026 · Information Security

User Security Architecture: Handling Compromise, RBAC, and Token Revocation

This chapter from 'Architecture Fundamentals' covers user security across the account lifecycle: login kickout mechanisms, password policies and storage, recovery and registration flows, RBAC with data permissions, and token/JWT trade-offs, emphasizing revocation and recovery as critical security capabilities.

AuthenticationJWTRBAC
0 likes · 10 min read
User Security Architecture: Handling Compromise, RBAC, and Token Revocation
Architect's Guide
Architect's Guide
Oct 12, 2026 · Backend Development

Why Microservices Need an API Gateway: Solving Cross-Cutting Concerns Without Code Duplication

This article explains why microservices require an API gateway by comparing three approaches for handling cross-cutting concerns like authentication, demonstrating how gateways eliminate code duplication, reduce service JAR size, and enable centralized updates without redeploying all services, while also covering gateway architecture, core functions, and technology stack recommendations.

API GatewayCross-cutting ConcernsJWT
0 likes · 8 min read
Why Microservices Need an API Gateway: Solving Cross-Cutting Concerns Without Code Duplication
CodeSmart Hoops
CodeSmart Hoops
Oct 11, 2026 · Backend Development

Spring Security 6.x: Authentication, Authorization & Session vs JWT Compared

This comprehensive guide explores Spring Security 6.x core mechanisms including authentication flow with SecurityFilterChain and AuthenticationManager, authorization via URL and method-level security with SpEL expressions, and compares Session-based vs JWT stateless authentication with OAuth2 integration and CSRF protection strategies.

AuthenticationCSRFJWT
0 likes · 40 min read
Spring Security 6.x: Authentication, Authorization & Session vs JWT Compared
Architect's Guide
Architect's Guide
Oct 8, 2026 · Backend Development

Seamless Token Refresh: Backend vs Frontend Strategies for JWT Authentication

This article explains why seamless token refresh prevents sudden logouts, compares backend automatic token renewal with frontend dual-token (access/refresh) approaches, provides Java JWT implementation code with expiration calculations, and discusses handling edge cases like long-form submissions where no requests are sent before token expiry.

AuthenticationFrontend-Backend IntegrationJWT
0 likes · 10 min read
Seamless Token Refresh: Backend vs Frontend Strategies for JWT Authentication
Xiaolin Talks Programming
Xiaolin Talks Programming
Sep 28, 2026 · Backend Development

Spring Boot 3.x AD/LDAP Integration: Unified Auth, Group Mapping & Production Pitfalls

This article details integrating Spring Boot 3.x with Active Directory/LDAP for unified authentication, covering directory model concepts, connection pooling, custom authentication providers, group-to-role mapping, JWT/OIDC/MFA integration, testing strategies, and critical production pitfalls like connection leaks, timeout misconfiguration, nested group performance, and certificate issues.

Active DirectoryAuthenticationJWT
0 likes · 48 min read
Spring Boot 3.x AD/LDAP Integration: Unified Auth, Group Mapping & Production Pitfalls
Java Tech Workshop
Java Tech Workshop
Sep 26, 2026 · Backend Development

Spring Boot 3 + Spring Security 6 + JWT: Production-Ready Auth & Authorization Guide

This article walks through building a complete JWT-based authentication and authorization system with Spring Boot 3 and Spring Security 6, covering RBAC database design, token issuance and validation, filter chain configuration, permission annotations, refresh tokens, logout blacklisting, and Vue 3 frontend integration.

AuthenticationJWTRBAC
0 likes · 33 min read
Spring Boot 3 + Spring Security 6 + JWT: Production-Ready Auth & Authorization Guide
Xiaolin Talks Programming
Xiaolin Talks Programming
Sep 15, 2026 · Backend Development

Building an Enterprise OAuth2 Authorization Server with Spring Boot and Spring Authorization Server: Complete Guide

This guide walks through building a production-ready OAuth2/OIDC authorization server using Spring Boot 3.x and Spring Authorization Server 1.3, covering client registration, authorization code flow with PKCE, custom JWT claims, RSA key rotation, MFA integration, and deployment best practices.

JWTKey RotationMFA
0 likes · 37 min read
Building an Enterprise OAuth2 Authorization Server with Spring Boot and Spring Authorization Server: Complete Guide
Java Tech Enthusiast
Java Tech Enthusiast
Sep 6, 2026 · Backend Development

Why Sa-Token Is Winning Over Spring Security: A Deep Dive into Java's Rising Auth Framework

This article analyzes why Sa-Token has surpassed 46K GitHub stars by comparing its Core-Plugin-Adapter architecture, zero-config startup, and one-line authentication API against Spring Security's steep learning curve, demonstrating how it reduces permission system implementation from weeks to days.

Core-Plugin-AdapterJWTJava Authentication
0 likes · 18 min read
Why Sa-Token Is Winning Over Spring Security: A Deep Dive into Java's Rising Auth Framework
LuTiao Programming
LuTiao Programming
Sep 2, 2026 · Backend Development

Spring Boot Multi-Tenancy: Why Data Source Routing Is the Easy Part

This article walks through a production-ready Spring Boot multi-tenancy implementation using database-per-tenant isolation, JWT-based tenant identification via Spring Security, AbstractRoutingDataSource for dynamic routing, and ThreadLocal context management, while exposing critical pitfalls in transaction timing, async task propagation, and dynamic tenant registration.

AbstractRoutingDataSourceDatabase Per TenantJWT
0 likes · 16 min read
Spring Boot Multi-Tenancy: Why Data Source Routing Is the Easy Part
Architect's Guide
Architect's Guide
Aug 22, 2026 · Information Security

Comprehensive Guide: Implementing RBAC with Spring Security and JWT

This article walks through the fundamentals of Role‑Based Access Control (RBAC), explains the RBAC0‑RBAC3 model hierarchy, demonstrates how to configure Spring Security for in‑memory and database authentication, integrates JWT for stateless token handling, and shows how to enable JSON‑based login and BCrypt password encryption with concrete code examples.

AuthenticationJWTJava
0 likes · 16 min read
Comprehensive Guide: Implementing RBAC with Spring Security and JWT
LuTiao Programming
LuTiao Programming
Aug 21, 2026 · Backend Development

Spring’s New Multitenancy: Serving 1,000 Tenants with One Spring Boot App Without Hand‑Writing tenant_id

The article explains how Spring’s latest multitenancy support, combined with Spring Security, JWT and Hibernate’s @TenantId, lets a single Spring Boot application safely serve thousands of SaaS tenants by automatically isolating data, avoiding manual tenant_id filters, and handling indexes, native SQL, and async tasks.

HibernateJWTSaaS
0 likes · 11 min read
Spring’s New Multitenancy: Serving 1,000 Tenants with One Spring Boot App Without Hand‑Writing tenant_id
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Aug 21, 2026 · Backend Development

Token Authentication Deep Dive: JWT, OAuth2, SSO & Production Patterns with Code

This comprehensive guide compares Session-Cookie, JWT, OAuth2.0, and SSO authentication schemes, details production-ready dual-token JWT implementation with RS256, Redis blacklist/whitelist, Spring Cloud Gateway filters, and covers concurrency, revocation, and security hardening with code examples and interview insights.

JWTOAuth2.0RS256
0 likes · 37 min read
Token Authentication Deep Dive: JWT, OAuth2, SSO & Production Patterns with Code
Golang Shines
Golang Shines
Aug 12, 2026 · Backend Development

How to Build an Enterprise‑Grade API with Gin and GORM

This tutorial walks through creating a complete Go backend service using Gin and GORM, covering project setup, layered architecture, database initialization, user model definition, JWT‑based registration and login, pagination, middleware, routing, and deployment options, while also suggesting extensible features such as RBAC, Swagger, Redis caching, Docker, and micro‑service frameworks.

APIGORMGin
0 likes · 8 min read
How to Build an Enterprise‑Grade API with Gin and GORM
samdeepthink
samdeepthink
Aug 12, 2026 · Backend Development

Designing an Enterprise‑Level CAS SSO Architecture: A Practical Blueprint

This article presents a detailed technical blueprint for building an enterprise‑grade single sign‑on system that combines Apereo CAS, OAuth2, and JWT across four microservices, covering service responsibilities, data models, API contracts, deployment trade‑offs, and operational safeguards.

CASJWTOAuth2
0 likes · 26 min read
Designing an Enterprise‑Level CAS SSO Architecture: A Practical Blueprint
Java Architect Handbook
Java Architect Handbook
Aug 11, 2026 · Backend Development

Why Interviewers Mock Storing Tokens in Redis—and How to Answer

The article explains what JWT is, why its stateless design can cause problems, compares pure JWT, JWT with a blacklist, and storing tokens in Redis (whitelist), and provides a step‑by‑step guide on how to discuss these options convincingly in a Java interview.

AuthenticationBackendBlacklisting
0 likes · 11 min read
Why Interviewers Mock Storing Tokens in Redis—and How to Answer
Java Tech Enthusiast
Java Tech Enthusiast
Aug 10, 2026 · Information Security

A Complete Guide to Cookie, Session, Token, OAuth2.0, SSO, and JWT

This article systematically explains the concepts, workflows, advantages, drawbacks, and practical code examples of Cookie, Session, Token, OAuth2.0, Single Sign‑On (SSO) and JWT, compares them, offers best‑practice recommendations, and provides interview‑style Q&A for developers.

AuthenticationCookieJWT
0 likes · 16 min read
A Complete Guide to Cookie, Session, Token, OAuth2.0, SSO, and JWT
Coder Trainee
Coder Trainee
Jul 27, 2026 · Backend Development

From Zero to One: Build a Smart Table Reservation System with Triple‑Endpoint Architecture and Apple‑Style Design

This article walks through the end‑to‑end creation of a production‑grade table‑reservation platform, covering the three‑tier client architecture (WeChat Mini‑Program, H5/App via UniApp, and a Vue3 + Element Plus PC admin), a dual Spring Boot backend, Redis distributed locking combined with MySQL unique indexes for high‑concurrency seat booking, JWT‑based authentication, RBAC permission control, and an Apple‑inspired design system, all illustrated with concrete code snippets and deployment tips.

JWTRBACRedis Lock
0 likes · 21 min read
From Zero to One: Build a Smart Table Reservation System with Triple‑Endpoint Architecture and Apple‑Style Design
Code Farming
Code Farming
Jul 23, 2026 · Backend Development

Cut Authentication Traffic 50‑Fold with JWT: A Simple Token Strategy

The article explains how replacing centralized session lookups with JWT-based local verification can cut authentication latency from 15 ms to 0.3 ms—a roughly 50‑fold improvement—while describing a double‑token strategy, its refresh flow, security best practices, and trade‑offs such as delayed revocation.

JWTRefresh TokenToken Authentication
0 likes · 6 min read
Cut Authentication Traffic 50‑Fold with JWT: A Simple Token Strategy
Java Tech Workshop
Java Tech Workshop
Jul 22, 2026 · Backend Development

Spring Boot JWT Login Authentication with Seamless Refresh Explained

This article explains how to implement a double‑token JWT authentication scheme in Spring Boot 3.x, using short‑lived AccessTokens for API security and long‑lived RefreshTokens for seamless background renewal, while addressing token revocation, refresh thresholds, blacklist handling, and multi‑device considerations.

AuthenticationBackendJWT
0 likes · 23 min read
Spring Boot JWT Login Authentication with Seamless Refresh Explained
Black & White Path
Black & White Path
Jul 8, 2026 · Information Security

How I Earned $23,000 by Exploiting JWT Realm and File Overwrite Vulnerabilities

The article details a step‑by‑step exploitation chain against a site using JWT authentication and an upload endpoint, showing how modifying the JWT realm, removing the Bearer keyword, and abusing Amazon S3/CloudFront default settings enabled arbitrary file overwrite and yielded a total $23,000 bounty.

Authorization HeaderCloudFrontFile Overwrite
0 likes · 7 min read
How I Earned $23,000 by Exploiting JWT Realm and File Overwrite Vulnerabilities
java1234
java1234
Jul 4, 2026 · Mobile Development

Building a WeChat Mini‑Program Health Management System with AI in 20 Minutes (Spring AI 2.0 + Spring Boot 4 + Vue 3)

In just 20 minutes, the author uses Cursor AI to generate a full‑stack WeChat mini‑program for personal health management, featuring an AI‑driven health consultant, a Spring Boot 4 backend with JWT security, MySQL storage, and a Vue 3 admin console, and explains the architecture, routing, and deployment details.

AI chatbotJWTMySQL
0 likes · 10 min read
Building a WeChat Mini‑Program Health Management System with AI in 20 Minutes (Spring AI 2.0 + Spring Boot 4 + Vue 3)
Tech Musings
Tech Musings
Jul 3, 2026 · Backend Development

Optimizing HeFeng Weather Integration: Icon Fonts, JWT Auth, Layered Caching, and Gzip

The article details a complete HeFeng weather integration for a mini‑program, covering front‑end icon‑font rendering, Rust‑based backend JWT authentication with Ed25519, three upstream API calls, a two‑tier cache for real‑time and historical data, gzip auto‑decompression, request‑timeout layering, and environment‑variable driven deployment configuration.

GZIPHeFeng WeatherIcon Font
0 likes · 10 min read
Optimizing HeFeng Weather Integration: Icon Fonts, JWT Auth, Layered Caching, and Gzip
Architect's Guide
Architect's Guide
Jun 27, 2026 · Information Security

A Comprehensive Guide to Front‑End and Back‑End Authentication Strategies

This article systematically explains ten common authentication approaches—from basic HTTP authentication and session‑cookie mechanisms to token, JWT, SSO, OAuth 2.0, QR‑code login, and one‑click login—detailing their principles, workflows, advantages, drawbacks, and typical usage scenarios with concrete examples and code snippets.

AuthenticationCookieJWT
0 likes · 42 min read
A Comprehensive Guide to Front‑End and Back‑End Authentication Strategies
Black & White Path
Black & White Path
Jun 26, 2026 · Information Security

Step‑by‑Step Guide to Exploiting JWT Vulnerabilities

This article dissects common JWT weaknesses—including the None algorithm, missing signature verification, algorithm/key confusion, CVE‑2018‑0114 parsing bugs, kid‑parameter injection, and weak‑key brute‑forcing—showing how attackers manipulate tokens and offering concrete code‑level demonstrations.

AuthenticationCVE-2018-0114JWT
0 likes · 10 min read
Step‑by‑Step Guide to Exploiting JWT Vulnerabilities
Programmer XiaoFu
Programmer XiaoFu
Jun 17, 2026 · Information Security

Why JWT Requires Both Access and Refresh Tokens Instead of a Single Token

The article explains the inherent trade‑off of a single JWT’s expiration time, shows how using short‑lived Access Tokens together with long‑lived Refresh Tokens resolves both security and user‑experience issues, and provides detailed backend and frontend implementation guidance.

AuthenticationJWTOAuth 2.0
0 likes · 11 min read
Why JWT Requires Both Access and Refresh Tokens Instead of a Single Token
Java Tech Workshop
Java Tech Workshop
Jun 11, 2026 · Backend Development

Building a Production-Ready SpringBoot + Vue3 Front‑End/Back‑End Separation Architecture

This article presents a step‑by‑step guide to constructing a full‑stack SpringBoot + Vue3 project with production‑grade features such as global exception handling, unified error codes, JWT authentication, multi‑environment configuration, CORS solutions, pagination, Pinia state management, on‑demand UI imports, and Nginx reverse‑proxy deployment.

CORSJWTMyBatis Plus
0 likes · 17 min read
Building a Production-Ready SpringBoot + Vue3 Front‑End/Back‑End Separation Architecture
Coder Trainee
Coder Trainee
May 30, 2026 · Information Security

Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)

This article walks through building a Spring Security resource server with OAuth2, enabling method‑level, object‑level and URL‑level permission checks using annotations like @PreAuthorize, @PostAuthorize, @PostFilter, and demonstrates configuration, utility helpers, controller examples, testing steps, best practices, and common pitfalls.

JWTJavaOAuth2
0 likes · 17 min read
Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)
Coder Trainee
Coder Trainee
May 28, 2026 · Information Security

Deep Dive into JWT with Spring Security OAuth2: Token Enhancement Techniques

This tutorial explains the JWT structure, shows how to add custom claims such as user ID, department and roles, implements token blacklisting for logout, handles refresh token logic, and provides step‑by‑step code and testing instructions for a Spring Security OAuth2 authentication system.

JWTOAuth2Redis
0 likes · 16 min read
Deep Dive into JWT with Spring Security OAuth2: Token Enhancement Techniques
Cloud Architecture
Cloud Architecture
May 27, 2026 · Information Security

Mastering Dual Token Authentication: From Architecture Design to Production Deployment

This comprehensive guide explains why many teams struggle with dual‑token implementations, outlines the three core goals of the mechanism, details threat modeling, design principles, data modeling, JWT claim choices, atomic refresh rotation with Redis Lua, and provides production‑ready Spring Boot code, observability, scaling and security hardening recommendations.

AuthenticationJWTRedis
0 likes · 35 min read
Mastering Dual Token Authentication: From Architecture Design to Production Deployment
Tinker Programmer
Tinker Programmer
May 25, 2026 · Information Security

Why Big Tech Shuns MD5 for Passwords: Inside Bcrypt and JWT Security

The article explains why modern systems avoid MD5 for password storage, details how Bcrypt’s deliberately slow, salted hashing thwarts brute‑force attacks, and shows that JWT provides stateless authentication whose security relies on signatures rather than encryption, while also discussing token revocation and DoS mitigation.

JWTMD5Security
0 likes · 7 min read
Why Big Tech Shuns MD5 for Passwords: Inside Bcrypt and JWT Security
Java Architect Essentials
Java Architect Essentials
May 19, 2026 · Backend Development

Why Storing Tokens in Redis Is the Right Answer in Interviews

The article explains why many interviewers mock the Redis‑based token design, then systematically presents technical and security reasons—controllable logout, multi‑device SSO, high performance, dynamic permissions—and provides concrete implementation details, comparison with pure JWT, and best‑practice responses.

AuthenticationJWTRedis
0 likes · 6 min read
Why Storing Tokens in Redis Is the Right Answer in Interviews
Java Tech Enthusiast
Java Tech Enthusiast
May 14, 2026 · Information Security

Why JWT Still Needs Redis Despite Its Stateless Promise

Although JWT is marketed as a stateless, database‑free authentication method, real‑world applications often store token identifiers in Redis to handle logout, password changes, and token renewal, which reintroduces state and a database lookup.

AuthenticationJWTRedis
0 likes · 6 min read
Why JWT Still Needs Redis Despite Its Stateless Promise
java1234
java1234
May 10, 2026 · Backend Development

Building a Spring Boot 4 + Vue 3 Student Archive System in 20 Minutes with Cursor AI

The article walks through creating a full‑stack university student archive management system—using Java 17, Spring Boot 4, MySQL 8 on the back end and Vue 3, Vite, Element Plus on the front end—generated in about 20 minutes with Cursor AI, and explains the architecture, role‑based access, JWT security, and data flow in detail.

AI CodingCursor AIJWT
0 likes · 10 min read
Building a Spring Boot 4 + Vue 3 Student Archive System in 20 Minutes with Cursor AI
Black & White Path
Black & White Path
Apr 27, 2026 · Information Security

How I Exploited Multiple Vulnerabilities in a University System

This article details a step‑by‑step penetration test on a university’s web platform, covering XSS file uploads, JWT tampering for arbitrary login, massive personal data leakage, SQL injection payloads, and the exposure of several AK/SK secrets, all with concrete screenshots and commands.

JWTSQL injectionXSS
0 likes · 5 min read
How I Exploited Multiple Vulnerabilities in a University System
Java Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Information Security

Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers

This article walks through building a complete OAuth2.0 solution in Spring Boot, covering core concepts, a comparison of the four grant types, project initialization, detailed configuration of the authorization and resource servers, custom login pages, end‑to‑end testing, advanced optimizations, and security best‑practice recommendations.

JWTJavaOAuth2
0 likes · 24 min read
Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers
Java Tech Workshop
Java Tech Workshop
Apr 22, 2026 · Information Security

Stateless Authentication in SpringBoot with JWT: Complete Implementation Guide

This article explains why traditional session authentication is unsuitable for distributed micro‑service systems, introduces JWT as a stateless alternative, and provides a step‑by‑step SpringBoot implementation—including double‑token handling, Redis blacklist logout, interceptor configuration, and end‑to‑end testing—complete with code snippets and best‑practice recommendations.

AuthenticationJWTRedis
0 likes · 30 min read
Stateless Authentication in SpringBoot with JWT: Complete Implementation Guide
Java Captain
Java Captain
Apr 21, 2026 · Backend Development

Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews

The article explains why many interviewers dismiss Redis‑backed token storage as a bad design, then systematically demonstrates how Redis + token offers controllable logout, multi‑device support, high performance, dynamic permission refresh, and scenario‑driven architecture choices, providing concrete response scripts and advanced enhancements for interview success.

AuthenticationBackendInterview Tips
0 likes · 6 min read
Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

FastAPI Day 7: Implementing Clear JWT Authentication with Dependency Injection

This tutorial walks through building a full registration and login system in FastAPI, covering bcrypt password hashing, JWT token creation with expiration, dependency-injected authentication helpers, protected endpoints, and a suite of passing tests, demonstrating a clear and practical approach to backend authentication.

AuthenticationBackendDependency Injection
0 likes · 5 min read
FastAPI Day 7: Implementing Clear JWT Authentication with Dependency Injection
Coder Trainee
Coder Trainee
Apr 16, 2026 · Backend Development

Building a Tech Blog from Scratch (Part 2): Implementing Login Authentication with Spring Security and JWT

This article walks through creating a complete login authentication system—including registration, login, token refresh, and permission control—by replacing Spring Security's default session handling with JWT, configuring backend filters and utilities, and integrating a Vue 3 + Pinia front‑end with automatic token renewal.

AuthenticationJWTPinia
0 likes · 19 min read
Building a Tech Blog from Scratch (Part 2): Implementing Login Authentication with Spring Security and JWT
Cloud Architecture
Cloud Architecture
Apr 15, 2026 · Information Security

Authentication Foundations for Trillion-Request Scale: Cookie, Session, JWT, OAuth2.1, and SSO – Complete Guide and Practical Implementation

This comprehensive guide explains why authentication is the traffic, permission, and trust entry point in modern high‑concurrency systems, compares Cookie, Session, JWT, OAuth2.1 and SSO, and provides detailed architectural patterns, trade‑offs, implementation steps, and production‑grade best practices for building secure, scalable identity solutions.

AuthenticationJWTOAuth2.1
0 likes · 47 min read
Authentication Foundations for Trillion-Request Scale: Cookie, Session, JWT, OAuth2.1, and SSO – Complete Guide and Practical Implementation
dbaplus Community
dbaplus Community
Apr 8, 2026 · Information Security

Why Storing JWT Tokens in Redis Isn’t a Flaw – When and How to Do It

The article analyzes the debate over placing JWT tokens in Redis, compares traditional session and JWT approaches, discusses security and performance trade‑offs, shows practical blacklist code, and explains when a centralized store is justified versus when true stateless JWTs are preferable.

AuthenticationJWTRedis
0 likes · 13 min read
Why Storing JWT Tokens in Redis Isn’t a Flaw – When and How to Do It
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Mar 27, 2026 · Artificial Intelligence

Securing RAG Systems: A Three‑Layer Permission Framework for Banking AI

This article explains why vector databases lack row‑level security, presents a three‑layer permission architecture—including JWT authentication, Milvus metadata or partition filtering, and post‑retrieval validation—covers document security levels, PostgreSQL RLS, audit logging, caching strategies, and offers interview‑ready talking points.

JWTMilvusPermission Management
0 likes · 18 min read
Securing RAG Systems: A Three‑Layer Permission Framework for Banking AI
Java Architect Handbook
Java Architect Handbook
Mar 16, 2026 · Backend Development

Cookie vs Session vs Token: Master Java Authentication for Interviews

This guide outlines interview focus points, core definitions, and deep analysis of Cookie, Session, and Token (JWT), compares their storage, security, scalability, and cross‑origin support, and provides high‑frequency follow‑up questions, common variants, memory mnemonics, and selection principles for Java authentication.

AuthenticationCookieInterview
0 likes · 15 min read
Cookie vs Session vs Token: Master Java Authentication for Interviews
Senior Tony
Senior Tony
Feb 26, 2026 · Information Security

Why Most Projects Choose Token + Redis Over Stateless JWT

Although JWT is marketed as a decentralized, stateless solution, the majority of real‑world applications still rely on a Token + Redis approach because it simplifies logout handling, avoids Redis outages, and aligns better with practical security requirements.

AuthenticationBackendJWT
0 likes · 7 min read
Why Most Projects Choose Token + Redis Over Stateless JWT
Open Source Tech Hub
Open Source Tech Hub
Jan 21, 2026 · Information Security

JWT Explained: When to Use Stateless Tokens and What to Watch Out For

JSON Web Tokens (JWT) provide a compact, signed, self-contained way to authenticate API requests without server-side session storage, offering scalability and speed, while introducing trade-offs such as revocation challenges, token size, and exposure of unencrypted payloads, making them ideal for distributed systems but unsuitable for scenarios requiring immediate logout or sensitive data.

API SecurityAuthenticationBest Practices
0 likes · 10 min read
JWT Explained: When to Use Stateless Tokens and What to Watch Out For
Data STUDIO
Data STUDIO
Jan 14, 2026 · Backend Development

Why FastAPI Is the Ideal Choice for High‑Performance Python Microservices – A Hands‑On Guide

This article explains how FastAPI’s async support, type‑hint integration, automatic OpenAPI docs, and rich ecosystem enable Python developers to build scalable, secure microservices with layered architecture, JWT authentication, performance optimizations, comprehensive testing, Docker/Kubernetes deployment, and structured logging.

DockerFastAPIJWT
0 likes · 22 min read
Why FastAPI Is the Ideal Choice for High‑Performance Python Microservices – A Hands‑On Guide
Architect's Guide
Architect's Guide
Jan 11, 2026 · Information Security

10 Common Authentication Techniques Explained: From Basic Auth to OAuth and QR‑Login

This article systematically introduces ten widely used authentication methods—including HTTP Basic Auth, Session‑Cookie, Token, JWT, Single Sign‑On, OAuth 2.0, federated login, unique‑device login, QR‑code login, and one‑click mobile login—explaining their principles, workflows, advantages, drawbacks, and typical implementation libraries.

AuthenticationJWTOAuth
0 likes · 45 min read
10 Common Authentication Techniques Explained: From Basic Auth to OAuth and QR‑Login
JavaScript
JavaScript
Jan 1, 2026 · Information Security

Why Storing JWT in localStorage Is No Longer Safe and What to Use Instead

Storing JWT tokens in localStorage has become a serious security risk because XSS attacks can steal them, so developers should adopt safer alternatives such as HttpOnly cookies, BFF‑backed sessions, or Service Worker‑based in‑memory storage, each with its own trade‑offs.

AuthenticationBFFCSRF
0 likes · 10 min read
Why Storing JWT in localStorage Is No Longer Safe and What to Use Instead
Tech Freedom Circle
Tech Freedom Circle
Dec 31, 2025 · Information Security

Unified SSO via Gateway: Multi‑App Auth & Authz and JWT vs Auth vs Authz

This article walks through a complete design and implementation of a unified single sign‑on system using OAuth2.0 authorization‑code flow, Spring Cloud Gateway, JWT, Redis, and Nacos, comparing JWT, authentication, and authorization while presenting performance metrics, security considerations, and interview‑ready answers.

AuthenticationJWTOAuth2
0 likes · 59 min read
Unified SSO via Gateway: Multi‑App Auth & Authz and JWT vs Auth vs Authz
Code Wrench
Code Wrench
Dec 20, 2025 · Backend Development

How to Build a High‑Performance Stateless OAuth2 Auth Server in Go

This article walks through a production‑grade OAuth2 authentication center built with Go and Gin, covering a three‑layer architecture, stateless JWT handling, key‑rotation, short‑hash token revocation, high‑availability design, and practical open‑source references.

AuthenticationGoJWT
0 likes · 11 min read
How to Build a High‑Performance Stateless OAuth2 Auth Server in Go
Top Architect
Top Architect
Dec 13, 2025 · Information Security

Why Many Developers Avoid Using JWT: Risks and Drawbacks Explained

This article introduces JSON Web Tokens (JWT), explains how they work in authentication flows, and examines their major drawbacks such as token size overhead, redundant signatures, revocation challenges, stale data risks, and lack of encryption, concluding that JWTs are suited for short‑lived claims but not for long‑term session management.

JWTaccess controltoken
0 likes · 11 min read
Why Many Developers Avoid Using JWT: Risks and Drawbacks Explained
JavaScript
JavaScript
Nov 30, 2025 · Information Security

Why Storing JWT in localStorage Is a Security Nightmare and Safer Alternatives

Storing JWT tokens in localStorage, once a common practice for front‑end authentication, now poses severe XSS risks; this article explains the vulnerabilities, compares HttpOnly cookies, BFF with cookies, and Service Worker‑based solutions, and recommends safer strategies for modern web applications.

BFFCSRFHttpOnly cookie
0 likes · 11 min read
Why Storing JWT in localStorage Is a Security Nightmare and Safer Alternatives
JavaGuide
JavaGuide
Nov 27, 2025 · Backend Development

Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT

The article starts by highlighting Xiaomi's competitive software developer salaries, then provides a detailed Java interview guide covering reflection fundamentals, static vs dynamic proxies, SPI vs API, synchronization behavior, Redis caching strategies, and JWT authentication, complete with code examples and practical comparisons.

JWTJavaRedis
0 likes · 25 min read
Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT
Ray's Galactic Tech
Ray's Galactic Tech
Nov 19, 2025 · Information Security

Mastering Modern Login Mechanisms: Cookies, Sessions, JWT, OAuth2 & SSO

This comprehensive guide explains why authentication is needed for stateless HTTP, walks through the workflows, advantages, and drawbacks of Cookies, Sessions, Tokens, JWTs, Refresh Tokens, blacklist strategies, and OAuth2/OAuth2.1, and provides practical security best‑practice recommendations for web, mobile, and micro‑service architectures.

AuthenticationJWTOAuth2
0 likes · 12 min read
Mastering Modern Login Mechanisms: Cookies, Sessions, JWT, OAuth2 & SSO
JavaGuide
JavaGuide
Nov 12, 2025 · Backend Development

Shopee Backend 2023 Salary Offers and In-Depth Interview Guide

Shopee’s 2023 backend positions offer competitive salaries ranging from 23.5k to 32k in Shenzhen, and the article provides a comprehensive interview guide covering network models, TCP handshake, HTTP/HTTPS differences, MySQL isolation levels, foreign keys, slow query optimization, JWT authentication, RBAC, and Redis sorted sets.

BackendInterviewJWT
0 likes · 31 min read
Shopee Backend 2023 Salary Offers and In-Depth Interview Guide
Top Architect
Top Architect
Nov 11, 2025 · Information Security

Mastering Authentication & Authorization: Cookies, Sessions, Tokens, and JWT Explained

This comprehensive guide explores the fundamentals of authentication and authorization, detailing how credentials, cookies, and sessions work together, and compares traditional session-based approaches with modern token-based solutions such as JWT, covering their mechanisms, advantages, drawbacks, and best practices for secure, scalable web applications.

AuthenticationJWTSession
0 likes · 38 min read
Mastering Authentication & Authorization: Cookies, Sessions, Tokens, and JWT Explained
JavaGuide
JavaGuide
Nov 4, 2025 · Backend Development

JD Backend Salary Ranges 2024 & How to Ace the Interview

The article shares recent JD backend salary data ranging from 24k to 32k RMB per month, explains the compensation structure, and provides a step‑by‑step interview preparation guide covering project presentation, JWT, Redis, thread pools, MySQL‑Elasticsearch sync, isolation levels and performance analysis.

JDJWTJava
0 likes · 21 min read
JD Backend Salary Ranges 2024 & How to Ace the Interview
Selected Java Interview Questions
Selected Java Interview Questions
Oct 24, 2025 · Backend Development

How to Secure a Spring Boot Application with Spring Security and JWT

This step‑by‑step guide shows how to integrate Spring Security into a Spring Boot project, configure Maven dependencies, define User, Role and Permission entities, set up MyBatis mappers, implement JWT generation and validation, and build the service, controller, and configuration layers for a complete authentication system.

AuthenticationJWTSpring Boot
0 likes · 28 min read
How to Secure a Spring Boot Application with Spring Security and JWT
IT Services Circle
IT Services Circle
Sep 22, 2025 · Information Security

JWT vs Token+Redis: Which Authentication Strategy Wins for Your Apps?

This article provides a comprehensive comparison of JWT and Token‑Redis authentication schemes, covering their underlying principles, Java implementations, advantages and disadvantages, performance and security trade‑offs, suitable use‑cases, and practical guidance for choosing the optimal solution in modern web and mobile applications.

AuthenticationJWTJava
0 likes · 15 min read
JWT vs Token+Redis: Which Authentication Strategy Wins for Your Apps?
Su San Talks Tech
Su San Talks Tech
Sep 19, 2025 · Information Security

JWT vs Token+Redis: Which Authentication Strategy Wins for Your Backend?

This article thoroughly compares JWT and Token‑plus‑Redis authentication approaches, detailing their underlying principles, Java implementations, performance, security trade‑offs, and ideal use‑cases, and even proposes a hybrid solution that combines the strengths of both methods for modern applications.

AuthenticationJWTSecurity
0 likes · 16 min read
JWT vs Token+Redis: Which Authentication Strategy Wins for Your Backend?
Programmer XiaoFu
Programmer XiaoFu
Sep 15, 2025 · Information Security

SSO vs OAuth2.0: Key Differences Explained for Interviews

This article compares Single Sign‑On (SSO) and OAuth2.0, detailing their conceptual distinctions, token‑based workflows, implementation frameworks like CAS, the four OAuth2.0 grant types, and how each can be used to achieve seamless authentication across applications.

AuthenticationCASJWT
0 likes · 8 min read
SSO vs OAuth2.0: Key Differences Explained for Interviews
Architecture Digest
Architecture Digest
Aug 27, 2025 · Backend Development

How to Implement Seamless Token Refresh in Spring Boot & Axios

This article explains how to implement seamless, invisible token refresh in a Spring Boot authentication server and a Vue/axios frontend, covering gateway interceptors, JWT expiration handling, Axios response interceptors, timer‑based proactive refresh, and complete code examples for both backend and client sides.

AxiosBackendJWT
0 likes · 23 min read
How to Implement Seamless Token Refresh in Spring Boot & Axios
Lobster Programming
Lobster Programming
Aug 25, 2025 · Information Security

Storing User Sessions in SSO: Cookie+Session, Redis, and JWT Solutions

This article explains common approaches for storing user login state in distributed single sign‑on systems, covering the simple cookie‑plus‑session method, session storage in Redis for high‑availability, and token‑based JWT solutions, while discussing their architectures, advantages, and potential drawbacks.

JWTSession Managementsingle sign-on
0 likes · 6 min read
Storing User Sessions in SSO: Cookie+Session, Redis, and JWT Solutions
Su San Talks Tech
Su San Talks Tech
Aug 23, 2025 · Information Security

Cookie, Session, Token, JWT, OAuth2: Which One Fits Your Project?

This article demystifies the differences between Cookie, Session, Token, JWT, and OAuth2, explains their underlying mechanisms, shows practical Spring code examples, compares their security properties and suitable scenarios, and provides clear guidance on choosing the right authentication strategy for modern web applications.

CookieJWTOAuth2
0 likes · 13 min read
Cookie, Session, Token, JWT, OAuth2: Which One Fits Your Project?
Code Mala Tang
Code Mala Tang
Jul 24, 2025 · Information Security

Boost FastAPI Security: OAuth2, JWT, RBAC, Refresh Tokens & MFA

This guide explains how to secure FastAPI applications using OAuth2 with JWT, role‑based access control, refresh‑token workflows, multi‑factor authentication, and integration with external providers such as Auth0, Keycloak, and Firebase.

AuthenticationFastAPIJWT
0 likes · 9 min read
Boost FastAPI Security: OAuth2, JWT, RBAC, Refresh Tokens & MFA