Skip to content
Tagged articles

Authentication

500 articles · Page 1 of 5
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
Java Tech Enthusiast
Java Tech Enthusiast
Nov 11, 2026 · Backend Development

Spring Boot Trusted Device Login: Why Device ID Isn't Enough for 30-Day Remember Me

This article details a secure implementation of 'remember this device for 30 days' in Spring Boot, explaining why device IDs and fingerprints are insufficient, and demonstrating server-signed trusted device tokens with hashed storage, rotation, absolute expiration, MFA versioning, and revocation mechanisms to properly bypass 2FA without compromising security.

2FAAuthenticationJava
0 likes · 22 min read
Spring Boot Trusted Device Login: Why Device ID Isn't Enough for 30-Day Remember Me
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
LuTiao Programming
LuTiao Programming
Nov 3, 2026 · Information Security

Java Trusted Device Login: Secure 30-Day 2FA Skip via Rotating Tokens

This article details a complete Java implementation for trusted device login, covering secure token generation, server-side validation, hash storage, token rotation, revocation via MFA versioning, risk-based signals, and user-facing device management, ensuring 30-day 2FA bypass without compromising security.

2FAAuthenticationJava
0 likes · 21 min read
Java Trusted Device Login: Secure 30-Day 2FA Skip via Rotating Tokens
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
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
Raymond Ops
Raymond Ops
Oct 13, 2026 · Databases

MySQL 8.0 Upgrade Guide: 20 Critical Migration Pitfalls from 5.7

This comprehensive guide details 20 critical technical checks for migrating from MySQL 5.7 to 8.0, covering authentication plugins, character sets, reserved words, strict SQL modes, replication setup, backup validation, and cutover procedures with executable SQL and bash examples.

AuthenticationDatabase MigrationDatabase Upgrade
0 likes · 23 min read
MySQL 8.0 Upgrade Guide: 20 Critical Migration Pitfalls from 5.7
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
Cilantro Loves Linux
Cilantro Loves Linux
Oct 11, 2026 · Backend Development

Why Login Architecture Is Harder Than You Think: Authentication, Sessions, and Security Boundaries

This chapter from "Architecture Fundamentals: From Requirements to Architecture" dissects login system design, separating authentication, session management, and authorization, covering multi-factor methods, SSO, OAuth 2.0, QR-code login, multi-device sessions, and a practical design checklist with common pitfalls.

AuthenticationOAuth2SSO
0 likes · 9 min read
Why Login Architecture Is Harder Than You Think: Authentication, Sessions, and Security Boundaries
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
Feidie Network
Feidie Network
Oct 10, 2026 · Backend Development

ASP.NET Core Middleware Pipeline: Delegates, Short-Circuiting & Execution Order

This article dissects the ASP.NET Core request pipeline, explaining how middleware delegates form a chain of responsibility, the three registration methods (Use, Run, Map), bidirectional request/response flow, short-circuiting for performance, critical ordering rules, and dependency injection patterns for custom middleware.

ASP.NET CoreAuthenticationChain of Responsibility
0 likes · 15 min read
ASP.NET Core Middleware Pipeline: Delegates, Short-Circuiting & Execution Order
CodeSmart Hoops
CodeSmart Hoops
Oct 10, 2026 · Backend Development

Sa-Token Deep Dive: 10 Interview Questions on Auth, Multi-Account & SSO

This article explores 10 key Sa-Token interview questions covering core interfaces, one-line login internals, token styles, second-level authentication, multi-account architecture, distributed storage options, SSO comparisons, token passing strategies, permission annotation implementation, and production security hardening.

AOPAuthenticationDistributed Systems
0 likes · 21 min read
Sa-Token Deep Dive: 10 Interview Questions on Auth, Multi-Account & SSO
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
Architect's Guide
Architect's Guide
Oct 7, 2026 · Backend Development

MaxKey SSO Deep Dive: Enterprise Authentication Architecture, Security Mechanisms, and bcrypt Password Storage

This article explores MaxKey, an open-source single sign-on system supporting OAuth 2.x, OpenID Connect, SAML 2.0, JWT, CAS, and SCIM, detailing its microservices architecture, security features like secondary authentication and single logout, session timeout design, brute-force protections, and bcrypt password storage implementation.

AuthenticationMaxKeyOAuth
0 likes · 12 min read
MaxKey SSO Deep Dive: Enterprise Authentication Architecture, Security Mechanisms, and bcrypt Password Storage
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
LuTiao Programming
LuTiao Programming
Sep 23, 2026 · Backend Development

How to Add Passkey Authentication to Spring Boot with Spring Security 7.1

This guide demonstrates integrating Passkey/WebAuthn authentication into a Spring Boot application using Spring Security 7.1's built-in support, covering dependency setup, security configuration, frontend JavaScript implementation for credential registration and authentication, database persistence with JDBC repositories, and a migration strategy that retains password login while adding Passkey as a second factor.

AuthenticationJDBCJava
0 likes · 17 min read
How to Add Passkey Authentication to Spring Boot with Spring Security 7.1
James' Growth Diary
James' Growth Diary
Sep 18, 2026 · Backend Development

Container Routing: Why the Same Agent Lands in Different Containers

This article details a four-step container routing mechanism (authentication, permission, routing, resolution) for an Agent platform, explaining how requests reach different container forms based on identity and instance health, and why distinguishing hard vs soft failures is critical for debugging.

Authenticationagent platformauthorization
0 likes · 27 min read
Container Routing: Why the Same Agent Lands in Different Containers
Architect's Guide
Architect's Guide
Sep 16, 2026 · Backend Development

Implementing Cross-System Single Sign-On with CAS: A Practical Guide

This article explains how to implement Single Sign-On (SSO) using CAS to unify authentication across multiple company systems, covering session mechanics, cluster session sharing with Redis, and providing complete Spring Boot code examples for both the CAS server and client applications.

AuthenticationCASDistributed Systems
0 likes · 16 min read
Implementing Cross-System Single Sign-On with CAS: A Practical Guide
James' Growth Diary
James' Growth Diary
Sep 12, 2026 · Backend Development

OpenAPI Design for AI Agents: Stable Primitives, Credential Governance, and Integration Patterns

This article presents a three-layer OpenAPI architecture for AI agent platforms—credential governance, stable primitives, and evolvable management interfaces—emphasizing semantic freezing, platform-issued credentials with request signing, application tiering, and explicit integration authorization to enable third-party systems to integrate reliably without coupling to internal product changes.

AI agentAPI GovernanceAPI design
0 likes · 39 min read
OpenAPI Design for AI Agents: Stable Primitives, Credential Governance, and Integration Patterns
dbaplus Community
dbaplus Community
Sep 12, 2026 · Information Security

Bill Burr's 2003 Password Rules Were Wrong: He Apologized in 2017

The article traces mandatory complex password rules to Bill Burr's 2003 NIST guide based on a 1980s paper, reveals how they create predictable patterns, cites xkcd's entropy comparison, and notes Burr's 2017 regret and NIST's updated guidelines, yet many sites still enforce the outdated rules.

AuthenticationBill BurrNIST
0 likes · 7 min read
Bill Burr's 2003 Password Rules Were Wrong: He Apologized in 2017
Airbnb Technology Team
Airbnb Technology Team
Sep 10, 2026 · Backend Development

Airbnb's Flexible Authentication: Server-Driven UI Cuts Code 60% and Boosts Login Success

Airbnb rebuilt its authentication system using a server-driven 'identify first, challenge later' model, reducing client code by 60%, cutting bundle size by 100KB, enabling 20+ experiments in three months, and increasing successful logins by 2.6% while cutting duplicate accounts 27% and OTP costs 11%.

AirbnbAuthenticationFlexible Authentication
0 likes · 13 min read
Airbnb's Flexible Authentication: Server-Driven UI Cuts Code 60% and Boosts Login Success
Xiaolin Talks Programming
Xiaolin Talks Programming
Sep 9, 2026 · Backend Development

Spring Boot Sa-Token Integration: High-Availability Auth with Dynamic Permissions & Replay Protection

This article details integrating Sa-Token 1.37.0 with Spring Boot 2.7.x and Redis 6.x for authentication, covering dependency setup, configuration, login implementation, dynamic permission via StpInterface, API replay protection using nonce/timestamp/signature, cluster deployment, comparison with Spring Security+JWT, and production pitfalls.

AuthenticationCluster DeploymentDynamic Permissions
0 likes · 22 min read
Spring Boot Sa-Token Integration: High-Availability Auth with Dynamic Permissions & Replay Protection
LuTiao Programming
LuTiao Programming
Sep 8, 2026 · Backend Development

Migrating from Feign to @HttpExchange in Spring Boot 4: Why It's Not That Simple

The author shares their experience replacing OpenFeign with Spring's @HttpExchange during a Spring Boot 4 upgrade, demonstrating how interface definitions simplify but cross-cutting concerns like authentication, timeouts, and error handling remain, leading to a pragmatic coexistence of both tools based on project needs.

@HttpExchangeAuthenticationGateway Pattern
0 likes · 15 min read
Migrating from Feign to @HttpExchange in Spring Boot 4: Why It's Not That Simple
Architect's Guide
Architect's Guide
Sep 4, 2026 · Information Security

Why Websites Can't Tell You Your Original Password: Hashing & Salting Explained

This article explains why websites require password resets instead of revealing original passwords, detailing how secure systems use one-way hashing algorithms like bcrypt and Argon2 combined with unique salts to store only irreversible password hashes, making original password recovery mathematically impossible while protecting against database breaches and credential stuffing attacks.

Argon2Authenticationbcrypt
0 likes · 11 min read
Why Websites Can't Tell You Your Original Password: Hashing & Salting Explained
AI Architecture Path
AI Architecture Path
Sep 2, 2026 · Information Security

Casdoor: Open‑Source IAM/SSO for the AI‑Agent Era – 14.3K+ Stars, One‑Stop Auth

The article analyzes the security debt caused by fragmented authentication across backend, portal, mobile and AI‑Agent services, introduces Casdoor – an open‑source, self‑hosted IAM/SSO platform that unifies identity, supports multiple protocols, AI‑native MCP/A2A auth, and provides detailed deployment, integration and comparison guidance.

AI agentAuthenticationCasdoor
0 likes · 15 min read
Casdoor: Open‑Source IAM/SSO for the AI‑Agent Era – 14.3K+ Stars, One‑Stop Auth
macrozheng
macrozheng
Sep 1, 2026 · Information Security

Why Sa-Token Is Winning Over Developers: A Java Authentication Efficiency Revolution

Sa-Token has rapidly become the go‑to Java permission framework because it abstracts and automates common security concerns, offers a lightweight Core‑Plugin‑Adapter architecture, supports plug‑in storage like Redis, and lets developers implement login, logout and permission checks with a single line of code, dramatically reducing development time compared with Spring Security.

AuthenticationJavaPermission Framework
0 likes · 16 min read
Why Sa-Token Is Winning Over Developers: A Java Authentication Efficiency Revolution
Architect's Guide
Architect's Guide
Aug 25, 2026 · Cloud Native

API Gateway vs Load Balancer: How to Choose the Right Traffic Management Tool

This article compares load balancers and API gateways, explaining their layer‑4 vs layer‑7 focus, feature sets such as routing, authentication, observability, and extensibility, and outlines suitable scenarios like microservices, API publishing, and high‑throughput network entry to help readers select the appropriate component.

API GatewayAuthenticationload balancer
0 likes · 11 min read
API Gateway vs Load Balancer: How to Choose the Right Traffic Management Tool
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
YiSu Grain
YiSu Grain
Aug 20, 2026 · Information Security

Day62: Security Architecture & Incremental Migration – From Identity & Access to Legacy System Modernization

This case study walks through identifying authentication, authorization, data and audit risks in a regional medical platform, designing zero‑trust and data‑protection solutions, evaluating a legacy system’s technical debt and business value, and outlining a phased migration with clear data‑sync, validation and rollback procedures.

AuthenticationSecuritydata protection
0 likes · 43 min read
Day62: Security Architecture & Incremental Migration – From Identity & Access to Legacy System Modernization
Programmer DD
Programmer DD
Aug 19, 2026 · Artificial Intelligence

OctaFuse Gateway 2.6 0 Brings Unified Vertex AI Auth, Clear Image Billing, and Easier Debugging

OctaFuse Gateway 2.6.0 adds project‑level Vertex AI service‑account authentication, introduces token‑ and per‑image billing modes for image models, refines time‑slot pricing with override mode, and upgrades the admin UI, Playground and Simulator with new provider templates and routing visualizations, while clarifying failure‑request charge rules.

AuthenticationImage BillingOctaFuse
0 likes · 8 min read
OctaFuse Gateway 2.6 0 Brings Unified Vertex AI Auth, Clear Image Billing, and Easier Debugging
Architect's Guide
Architect's Guide
Aug 16, 2026 · Backend Development

How Architects Can Achieve Unified Login Across Company Products

The article explains why traditional session mechanisms break in clustered and multi‑service environments, compares session replication and centralized storage, introduces CAS‑based single sign‑on with ticket flow, contrasts it with OAuth2, and provides a complete Spring‑Boot demo with Redis‑backed session handling.

AuthenticationCASJava
0 likes · 15 min read
How Architects Can Achieve Unified Login Across Company Products
ITPUB
ITPUB
Aug 13, 2026 · Information Security

The NIST Official Who Enforced Special Characters in Passwords Has Apologized

The article traces the origin of the ubiquitous NIST password rule requiring uppercase letters, numbers, and special characters to an eight‑page 2003 guideline authored by Bill Burr, examines why the rule fails for human‑chosen passwords, and explains how NIST later rescinded it after the author expressed regret.

AuthenticationNISTinformation security
0 likes · 6 min read
The NIST Official Who Enforced Special Characters in Passwords Has Apologized
YiSu Grain
YiSu Grain
Aug 12, 2026 · Information Security

Day 54 – Attacks and Access Control: From “Who Are You?” to “Can This Action Be Performed?”

This article walks through the fundamentals of authentication, multi‑factor authentication, SSO, common attack vectors such as SQL injection, XSS, CSRF, DDoS, and Man‑in‑the‑Middle, explains DAC, MAC, RBAC, TBAC, OBAC, ABAC, Bell‑LaPadula, Biba, Clark‑Wilson and Chinese‑Wall models, and shows how to design a comprehensive audit log for an Internet‑based prescription system.

AuthenticationCSRFDDoS
0 likes · 31 min read
Day 54 – Attacks and Access Control: From “Who Are You?” to “Can This Action Be Performed?”
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
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Aug 10, 2026 · Backend Development

Vibe Coding Guide: Building Tongcheng Chengxin Travel Skill on Xiaoyi Platform

This guide details the complete development of the Tongcheng Chengxin travel skill on the Xiaoyi Open Platform using Vibe Coding, covering product design principles, intent routing, authentication flows, API specifications for seven travel domains, parameter standards, output formats, error handling, and the end-to-end development workflow from platform setup to deployment.

API SpecificationAuthenticationNode.js
0 likes · 27 min read
Vibe Coding Guide: Building Tongcheng Chengxin Travel Skill on Xiaoyi Platform
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
IT Services Circle
IT Services Circle
Aug 7, 2026 · Information Security

Why Is Sa-Token Gaining So Much Traction?

Sa-Token has become a popular Java permission framework because it offers a lightweight, plug‑in‑driven architecture that automates authentication, authorization and session management, allowing developers to replace complex solutions like Spring Security with just a few lines of code while still supporting distributed deployments and advanced features.

AuthenticationJavaSa-Token
0 likes · 16 min read
Why Is Sa-Token Gaining So Much Traction?
Architect's Guide
Architect's Guide
Aug 7, 2026 · Backend Development

A Clear Diagram of the User Login Verification Process

This article walks through a complete user login flow—including client verification, token generation, expiration policies, gateway validation, logout handling, anonymous access, rate‑limiting via authorized tokens, regex path checks, and blacklist management—illustrated with diagrams and Spring‑Redis code examples.

AuthenticationRedisSpring
0 likes · 9 min read
A Clear Diagram of the User Login Verification Process
TonyBai
TonyBai
Aug 7, 2026 · Information Security

Why Go’s New crypto/passkey Package Could Nail Password‑less Login

Filippo Valsorda’s proposal to add a crypto/passkey package to Go’s standard library introduces a stateless, no‑callback API that simplifies Passkey integration for small‑to‑medium sites by standardising credential storage, redefining user‑ID handling, and trimming unnecessary protocol features.

AuthenticationGoPasskey
0 likes · 15 min read
Why Go’s New crypto/passkey Package Could Nail Password‑less Login
Frontline Investigation
Frontline Investigation
Aug 5, 2026 · Information Security

Why Authorization Is the Hardest Step in Digital Services Despite Effortless Logins

This article argues that while user authentication has become frictionless, authorization remains the critical challenge in digital services, proposing a three-layer framework—identity, authorization, and execution—to separate concerns, citing China's 2025 Network Identity Authentication Measures as a policy shift toward minimal data collection and verifiable accountability.

AuthenticationChina regulationsaudit trail
0 likes · 12 min read
Why Authorization Is the Hardest Step in Digital Services Despite Effortless Logins
Code Farming
Code Farming
Jul 31, 2026 · Backend Development

How the Right API Gateway Can Halve Development Costs

By consolidating authentication, caching, and fault‑tolerance logic into a properly chosen API gateway, teams can eliminate duplicated SDK changes, cut backend QPS dramatically, and turn costly release windows into seamless upgrades, effectively reducing development effort by up to 50%.

API GatewayAuthenticationFault Tolerance
0 likes · 6 min read
How the Right API Gateway Can Halve Development Costs
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
Cloud Architecture
Cloud Architecture
Jul 20, 2026 · Cloud Native

Kubernetes Authentication Time Bomb: The Evolution and Production Practices of ServiceAccount Tokens

The article explains how many teams mistakenly think they are using Kubernetes authentication while actually mounting long‑lived Bearer tokens, outlines the risks of legacy ServiceAccount tokens, describes the new projected token mechanism, and provides step‑by‑step guidance for secure production deployment and migration.

AuthenticationKubernetesProjectedVolume
0 likes · 21 min read
Kubernetes Authentication Time Bomb: The Evolution and Production Practices of ServiceAccount Tokens
Java Architect Handbook
Java Architect Handbook
Jul 11, 2026 · Backend Development

Can Multiple Company Systems Share a Single Account? A Deep Dive into Session Sharing and SSO with CAS

This article examines the challenges of managing user authentication across many corporate systems, explains traditional session mechanisms, explores session sharing solutions for clustered environments, and provides a detailed walkthrough of implementing single sign‑on using CAS with Java and Redis, including code samples and a comparison with OAuth2.

AuthenticationBackendCAS
0 likes · 17 min read
Can Multiple Company Systems Share a Single Account? A Deep Dive into Session Sharing and SSO with CAS
Java Architect Handbook
Java Architect Handbook
Jul 8, 2026 · Backend Development

Why a Gateway Is Essential in Microservices and What It Actually Does

The article explains that a gateway serves as the unified entry point of a microservice system, handling routing, authentication, rate limiting, logging and protocol conversion, compares architectures with and without a gateway, details Spring Cloud Gateway's core concepts, shows configuration and custom auth filter code, and contrasts it with Zuul, providing interview‑ready insights and sample questions.

API GatewayAuthenticationRouting
0 likes · 13 min read
Why a Gateway Is Essential in Microservices and What It Actually Does
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
Cloud Architecture
Cloud Architecture
Jun 26, 2026 · Information Security

OAuth 2.0 at Billion-Scale: Unified Auth Center Architecture & Pitfall Guide

This article details how to design a unified authentication center that can handle billions of OAuth 2.0 requests, covering layered architecture, token issuance and revocation, refresh‑token rotation, gateway validation, key management, and practical pitfalls to ensure secure, high‑performance identity traffic in production.

AuthenticationOAuth 2.0Refresh Token Rotation
0 likes · 46 min read
OAuth 2.0 at Billion-Scale: Unified Auth Center Architecture & Pitfall Guide
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
IT Learning Made Simple
IT Learning Made Simple
Jun 15, 2026 · Information Security

Why Security Architects Are the Guardians of the Digital World

The article explains why security incidents are far from rare, defines the security architect role, outlines core responsibilities, design principles, essential tools, and career paths, and emphasizes the importance of security architecture in protecting data and meeting compliance in the digital age.

AuthenticationComplianceSecurity tools
0 likes · 10 min read
Why Security Architects Are the Guardians of the Digital World
Huolala Tech
Huolala Tech
Jun 10, 2026 · Information Security

Designing a Seamless, Secure CLI/SSO Auth System for Agent Skills

This article presents a token‑less, non‑exposed, multi‑user isolated CLI/SSO authentication framework for Agent‑driven Skill calls, detailing the security pain points, layered design of sso‑cli, sso‑sdk, poll‑based SSO, Feishu hook login, and future three‑dimensional access control.

AgentAuthenticationGo
0 likes · 22 min read
Designing a Seamless, Secure CLI/SSO Auth System for Agent Skills
Architect Chen
Architect Chen
Jun 8, 2026 · Information Security

Complete Guide to Single Sign-On: Principles, Architecture, and Flow

This article explains Single Sign-On (SSO) fundamentals, detailing its three core components—CAS Server, CAS Client, and Browser—illustrating the overall architecture and walking through the complete authentication flow from accessing a service to ticket validation.

AuthenticationCASSSO
0 likes · 4 min read
Complete Guide to Single Sign-On: Principles, Architecture, and Flow
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 3, 2026 · Backend Development

Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?

The article examines the challenges of multiple corporate systems requiring separate logins, explains traditional session mechanisms and their limitations in clustered environments, compares session replication versus centralized storage, and presents a complete Java Spring implementation of CAS‑based single sign‑on with code samples and a discussion of differences from OAuth2.

AuthenticationCASJava
0 likes · 13 min read
Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?
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
Cloud Architecture
Cloud Architecture
May 21, 2026 · Information Security

Production-Ready Elasticsearch Security Hardening: TLS, Authentication, and High‑Concurrency Architecture with INFINI Gateway

This guide walks through why Elasticsearch should sit behind a gateway, compares native security with INFINI Gateway, presents a layered security model, and provides concrete configuration, Kubernetes deployment, high‑availability, high‑concurrency, and observability patterns to turn a runnable setup into a production‑grade, continuously‑evolvable Elasticsearch security solution.

AuthenticationElasticsearchINFINI Gateway
0 likes · 30 min read
Production-Ready Elasticsearch Security Hardening: TLS, Authentication, and High‑Concurrency Architecture with INFINI Gateway
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
Coder Trainee
Coder Trainee
May 16, 2026 · Cloud Native

Spring Cloud Gateway: Unified Entry Point for Microservice Calls

This tutorial walks through adding Spring Cloud Gateway as a single entry point for client calls to multiple microservices, covering why a gateway is needed, project structure, dependency and configuration setup, global logging and authentication filters, startup verification, and common pitfalls with solutions.

AuthenticationGlobal FilterNacos
0 likes · 13 min read
Spring Cloud Gateway: Unified Entry Point for Microservice Calls
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
James' Growth Diary
James' Growth Diary
May 13, 2026 · Backend Development

How Claude Code Bridges IDEs: Local IPC Meets Remote WebSocket

The article dissects Claude Code's bridge architecture, explaining how a local IDE extension communicates with a CLI via Unix domain sockets while a remote web UI talks to the same process through a WebSocket‑SSE‑polling fallback, and it details the three worker models, three‑layer transport downgrade, four‑layer authentication, the FlushGate pattern, observability design, and the trade‑offs and costs of this 31‑file system.

AuthenticationFlushGateIDE bridge
0 likes · 17 min read
How Claude Code Bridges IDEs: Local IPC Meets Remote WebSocket
Tech Ocean
Tech Ocean
May 13, 2026 · Backend Development

Step‑by‑Step Guide to Building a Production‑Ready MCP Server

This article walks through turning a local MCP demo into a production‑grade server, covering project layout, uv + FastMCP setup, authentication options, error‑code handling, structured logging, Docker containerization with health checks and load balancing, and comprehensive testing using Inspector and pytest.

AuthenticationFastMCPMCP
0 likes · 12 min read
Step‑by‑Step Guide to Building a Production‑Ready MCP Server
Data STUDIO
Data STUDIO
Apr 28, 2026 · Backend Development

FastAPI in Production: Auth, Rate Limiting, and Zero‑Downtime with One Codebase

This article walks through a complete production‑ready FastAPI setup, covering secure OIDC/JWKS authentication, Redis‑backed token‑bucket rate limiting, zero‑downtime rolling deployments on Docker/Kubernetes, and observability best practices such as request‑ID middleware and structured JSON logging.

AuthenticationFastAPIKubernetes
0 likes · 20 min read
FastAPI in Production: Auth, Rate Limiting, and Zero‑Downtime with One Codebase
SpringMeng
SpringMeng
Apr 26, 2026 · Backend Development

A 3‑Year‑Proven, Universal Multi‑Account Login Architecture

The article analyzes a company’s three‑year‑old multi‑account unified login system, detailing its original phone‑code design, an optimized password‑optional flow, third‑party OAuth integration, a split user‑basic and user‑auth table schema, and the benefits and trade‑offs of one‑click mobile number authentication.

AuthenticationOAuthdatabase design
0 likes · 13 min read
A 3‑Year‑Proven, Universal Multi‑Account Login Architecture
macrozheng
macrozheng
Apr 25, 2026 · Backend Development

A 3‑Year‑Proven Universal Multi‑Account Login Architecture

The article details a comprehensive multi‑account unified login design—including phone‑number registration, optional password login, third‑party integrations, a split user‑basic and user‑auth data model, its pros and cons, and a one‑click mobile number authentication flow—offering practical insights from three years of production use.

AuthenticationMulti-AccountThird-Party Login
0 likes · 14 min read
A 3‑Year‑Proven Universal Multi‑Account Login Architecture
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns

Learn how to replace tangled if‑else login code with a clean, extensible architecture using Spring Boot, combining the Factory pattern to instantiate strategy beans and the Strategy pattern to encapsulate each login method (password, WeChat, SMS, etc.), enabling easy addition of new authentication types.

AuthenticationDesign PatternsFactory Pattern
0 likes · 14 min read
Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns
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
ZhiKe AI
ZhiKe AI
Apr 16, 2026 · Backend Development

Inside the MCP Client: A Deep Technical Walkthrough of Its Architecture

The article dissects the MCP Client used by Claude Code, detailing its layered architecture, type system, connection protocols, caching strategies, tool discovery and conversion, authentication flow, lifecycle management, reconnection logic, and design decisions, illustrating how external tool servers are seamlessly integrated as internal Claude tools.

AuthenticationClaudeClient
0 likes · 18 min read
Inside the MCP Client: A Deep Technical Walkthrough of Its Architecture
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
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

Eliminate Repeated Auth and Pagination Code with FastAPI Dependency Injection

This article shows how FastAPI's dependency injection can centralize authentication, permission checks, database connection lifecycles, and pagination logic, removing duplicated code across endpoints by defining reusable dependencies, sub‑dependencies, and yield‑based resources, with concrete code examples and test results.

AuthenticationBackendDependency Injection
0 likes · 5 min read
Eliminate Repeated Auth and Pagination Code with FastAPI 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
AndroidPub
AndroidPub
Apr 13, 2026 · Artificial Intelligence

Why AI Agents Are Abandoning Model Context Protocol for CLI‑First Toolchains

In early 2026 the AI community witnessed a sharp shift away from Model Context Protocol (MCP) toward CLI‑first approaches, driven by token‑cost inflation, fragmented authentication, and loss of composability, with developers favoring the lightweight, text‑based nature of command‑line tools for building robust agent pipelines.

AuthenticationModel Context ProtocolToolchain
0 likes · 15 min read
Why AI Agents Are Abandoning Model Context Protocol for CLI‑First Toolchains
Cloud Architecture
Cloud Architecture
Apr 10, 2026 · Information Security

Spring Boot Deployment Security Guide: From Monolith to Cloud‑Native Zero‑Trust Production

This comprehensive guide walks through why simple Spring Security is insufficient for production, outlines eight core security principles, presents a threat model, and provides step‑by‑step recommendations—including authentication, token design, configuration management, input validation, logging, rate limiting, container hardening, Kubernetes policies, service‑mesh mTLS, supply‑chain scanning, and audit—to transform a Spring Boot application into a zero‑trust, production‑grade service.

AuthenticationKubernetesSpring Boot
0 likes · 38 min read
Spring Boot Deployment Security Guide: From Monolith to Cloud‑Native Zero‑Trust Production
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
Java Companion
Java Companion
Apr 3, 2026 · Cloud Native

Why Every Microservice Architecture Needs an API Gateway

The article explains that without a gateway each microservice must duplicate authentication, rate‑limiting, logging and other cross‑cutting concerns, leading to maintenance overhead and security risks, and shows how a gateway centralises these functions while providing routing, load‑balancing, circuit‑breaking and observability, backed by real‑world code examples and a comparative analysis of popular gateway solutions.

API GatewayAuthenticationCircuit Breaking
0 likes · 19 min read
Why Every Microservice Architecture Needs an API Gateway
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
Subtle Storm
Subtle Storm
Mar 13, 2026 · Artificial Intelligence

How to Configure the Right Model in OpenClaw for Reliable Agent Performance

This guide explains why selecting the correct AI model is crucial for OpenClaw, outlines the problems caused by a mismatched model, and provides step‑by‑step commands to list providers, authenticate, set defaults, and customize routing for models such as Qwen, OpenAI, Anthropic, and Gemini.

AI agentsAuthenticationOpenClaw
0 likes · 5 min read
How to Configure the Right Model in OpenClaw for Reliable Agent Performance
Java Tech Enthusiast
Java Tech Enthusiast
Mar 6, 2026 · Backend Development

Simplify Spring Boot Authentication with Sa-Token: A Complete Guide

This article introduces Sa-Token, a lightweight Java authentication framework, explains why it outperforms Spring Security, shows how to configure it in Spring Boot, and provides multiple code examples—including login, logout, role and permission checks, global interceptors, front‑end token handling, and Redis storage.

AuthenticationBackendSa-Token
0 likes · 7 min read
Simplify Spring Boot Authentication with Sa-Token: A Complete Guide
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
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 11, 2026 · Information Security

Mastering Single Sign-On: Cookie, Token, and CAS Approaches Explained

This article explains three core Single Sign-On architectures—same‑domain cookie/session, distributed token‑based (JWT/OAuth2), and Central Authentication Service—detailing their workflows, advantages, drawbacks, and ideal use cases, helping architects choose the right SSO solution for web, mobile, and micro‑service environments.

AuthenticationCASOAuth2
0 likes · 5 min read
Mastering Single Sign-On: Cookie, Token, and CAS Approaches Explained
php Courses
php Courses
Jan 22, 2026 · Backend Development

Secure Your PHP Apps: Mastering password_hash for Safe Password Storage

This guide explains why password hashing is essential in modern web applications, introduces PHP's password_hash function, demonstrates its usage with clear code examples, and highlights automatic salting and verification with password_verify to protect user credentials.

Authenticationhashingpassword_hash
0 likes · 4 min read
Secure Your PHP Apps: Mastering password_hash for Safe Password Storage
LuTiao Programming
LuTiao Programming
Jan 21, 2026 · Information Security

Stop Hand‑Coding Login Checks: One Spring Boot 4.0 Annotation Enables Full MFA

The article explains why relying solely on username‑password authentication is risky, introduces multi‑factor authentication (MFA) as the only effective solution, and shows how Spring Boot 4.0’s @EnableMultiFactorAuthentication annotation together with Spring Security 7 lets developers implement MFA with just an annotation, automatic factor tracking, smart redirects, and minimal configuration.

AuthenticationMFASpring Boot
0 likes · 11 min read
Stop Hand‑Coding Login Checks: One Spring Boot 4.0 Annotation Enables Full MFA