Tagged articles

Authentication

721 articles · Page 7 of 8
Architecture Digest
Architecture Digest
Aug 4, 2020 · Information Security

Integrating Apache Shiro with Spring Boot for Authentication and Authorization

This guide demonstrates how to integrate Apache Shiro into a Spring Boot application, covering project setup, Maven dependencies, configuration of Redis-backed session and cache management, creation of utility and realm classes, and implementation of role‑based permission controls with example controllers and Postman testing.

AuthenticationAuthorizationJava
0 likes · 22 min read
Integrating Apache Shiro with Spring Boot for Authentication and Authorization
Java Captain
Java Captain
Jul 26, 2020 · Information Security

Understanding Authentication, Authorization, Cookies, Sessions, Tokens and JWT

This article explains the fundamentals of authentication and authorization, the roles of credentials, cookies, sessions, various token types including access and refresh tokens, and details the structure, generation, and usage of JWTs, while comparing security considerations and distributed session sharing strategies.

AuthenticationAuthorizationCookie
0 likes · 21 min read
Understanding Authentication, Authorization, Cookies, Sessions, Tokens and JWT
21CTO
21CTO
Jul 22, 2020 · Information Security

Why RESTful API Security Matters and How to Protect Your APIs

This article explains the critical importance of securing RESTful APIs—covering data protection, DoS risks, and business impact—and outlines practical measures such as authentication, API keys, access control, rate limiting, and input validation with code examples.

API SecurityAccess ControlAuthentication
0 likes · 8 min read
Why RESTful API Security Matters and How to Protect Your APIs
MaGe Linux Operations
MaGe Linux Operations
Jul 17, 2020 · Databases

Master MongoDB: Essential CRUD, Queries, Tools, and User Management Guide

This comprehensive tutorial covers MongoDB fundamentals, including CRUD operations, display commands, conditional queries, updates, deletions, essential tools like mongod and mongostat, authentication mechanisms, role definitions, configuration settings, and step‑by‑step user and admin creation for secure database management.

AuthenticationCRUDMongoDB
0 likes · 17 min read
Master MongoDB: Essential CRUD, Queries, Tools, and User Management Guide
vivo Internet Technology
vivo Internet Technology
Jun 17, 2020 · Mobile Development

Integrating Fingerprint Authentication on Android: APIs, Implementation Steps, and Advanced Usage

Google’s fingerprint API, introduced in Android 6.0, can be integrated via the legacy FingerprintManager or the newer BiometricPrompt, using a wrapper that abstracts version differences, handling permissions, hardware checks, authentication callbacks, and optional reflection to retrieve fingerprint IDs and enrolled fingerprint lists for advanced login scenarios.

APIAndroidAuthentication
0 likes · 14 min read
Integrating Fingerprint Authentication on Android: APIs, Implementation Steps, and Advanced Usage
Liangxu Linux
Liangxu Linux
Jun 11, 2020 · Backend Development

How to Build a Unified Multi‑Account Login System with Third‑Party OAuth

This article explains the technical design of a unified multi‑account login system, covering early‑stage username/password and phone‑based authentication, detailed flow steps, database schema, and integration of third‑party OAuth (e.g., QQ) while highlighting practical considerations and limitations.

AuthenticationMulti-AccountOAuth2
0 likes · 10 min read
How to Build a Unified Multi‑Account Login System with Third‑Party OAuth
Big Data Technology & Architecture
Big Data Technology & Architecture
May 26, 2020 · Information Security

Step-by-Step Guide to Integrating Kerberos Authentication with the Cloudera Platform

This article provides a comprehensive tutorial on Kerberos fundamentals, its authentication workflow, and detailed procedures for installing, configuring, and enabling Kerberos security on a Cloudera (Hadoop) cluster running on CentOS, including code snippets, configuration files, and post‑deployment testing steps.

AuthenticationClouderaHadoop
0 likes · 17 min read
Step-by-Step Guide to Integrating Kerberos Authentication with the Cloudera Platform
Architecture Digest
Architecture Digest
Apr 28, 2020 · Information Security

Understanding Spring Security Integration with Servlet Applications

This article explains how Spring Security integrates with Servlet‑based Java web applications by detailing the servlet filter chain, DelegatingFilterProxy, FilterChainProxy, SecurityFilterChain, and providing code examples to help readers grasp authentication and authorization mechanisms.

AuthenticationFilter ChainJava
0 likes · 7 min read
Understanding Spring Security Integration with Servlet Applications
Java Architecture Diary
Java Architecture Diary
Apr 20, 2020 · Backend Development

How to Customize OAuth2 Tokens with Business Data in Spring Security

This article explains how to extend the default OAuth2 token response by embedding business-related fields such as tenant_id, user_id, and username, and walks through the underlying Spring Security code—including the password grant flow, token creation, and enhancement process—illustrated with code snippets and diagrams.

AuthenticationOAuth2Spring Security
0 likes · 5 min read
How to Customize OAuth2 Tokens with Business Data in Spring Security
Programmer DD
Programmer DD
Apr 20, 2020 · Information Security

Essential API Security Measures and How to Implement Them

This article outlines key security mechanisms for public APIs—including data encryption, signing, timestamp validation, AppId authentication, rate limiting, blacklist handling, and data validation—and provides practical Java code examples for each technique.

API SecurityAuthenticationData Validation
0 likes · 11 min read
Essential API Security Measures and How to Implement Them
Laravel Tech Community
Laravel Tech Community
Apr 20, 2020 · Backend Development

Implementing JWT Authentication API in Laravel

This guide walks through installing the tymon/jwt-auth package, configuring Laravel, creating middleware for CORS and JWT verification, defining API routes, building an authentication controller, and testing the registration and login endpoints using tools like Postman or AJAX.

APIAuthenticationBackend
0 likes · 7 min read
Implementing JWT Authentication API in Laravel
Laravel Tech Community
Laravel Tech Community
Apr 14, 2020 · Backend Development

Master Laravel Authentication: From Scaffold to Custom Guard

This guide walks you through Laravel's built‑in authentication scaffolding, database requirements, route and view generation, customizing redirects, usernames, guards, validation, and storage, plus advanced techniques like manual authentication, HTTP basic auth, custom guards, and user providers, all with clear code examples.

AuthenticationBackendGuard
0 likes · 22 min read
Master Laravel Authentication: From Scaffold to Custom Guard
Laravel Tech Community
Laravel Tech Community
Apr 14, 2020 · Backend Development

Laravel Password Reset Implementation Guide

This guide explains how to enable Laravel's built‑in password reset feature by running the make:auth command, configuring the user model, migrating the reset token table, setting up routes and views, customizing guards, brokers, and notification emails, and adjusting token expiration.

AuthenticationBackendLaravel
0 likes · 6 min read
Laravel Password Reset Implementation Guide
macrozheng
macrozheng
Apr 10, 2020 · Backend Development

Understanding Cookies, Sessions, and JWT: A Complete Guide to Web Authentication

This article explains how cookies and sessions compensate for HTTP's stateless nature, details their creation, types, and limitations, compares them with JSON Web Tokens, and provides guidance on choosing the appropriate authentication method for different application scales and security requirements.

AuthenticationJWTSession
0 likes · 16 min read
Understanding Cookies, Sessions, and JWT: A Complete Guide to Web Authentication
Java Architecture Diary
Java Architecture Diary
Mar 18, 2020 · Information Security

How OAuth2 Token Validation, Generation, and Refresh Really Work

This article explains the complete OAuth2 token lifecycle—including how resource servers validate incoming tokens, how the authorization server creates and reuses access tokens, and the mechanisms for passive and active token refresh—complete with Java code examples and practical client‑side strategies.

AuthenticationBackendOAuth2
0 likes · 7 min read
How OAuth2 Token Validation, Generation, and Refresh Really Work
MaGe Linux Operations
MaGe Linux Operations
Feb 24, 2020 · Information Security

Session vs JWT: When to Choose Token‑Based Authentication

This article explains the differences between authentication and authorization, compares session‑based and token‑based (JWT) authentication flows, details JWT structure and signing, and outlines the advantages, disadvantages, and suitable scenarios for each method.

AuthenticationBackendJWT
0 likes · 9 min read
Session vs JWT: When to Choose Token‑Based Authentication
Architecture Digest
Architecture Digest
Dec 29, 2019 · Information Security

Spring Security Guide: Authentication, Authorization, and Customizing Filter Chains

This guide introduces Spring Security fundamentals, explaining authentication and authorization concepts, the core interfaces such as AuthenticationManager and AccessDecisionManager, how to configure them with Spring Boot, customize filter chains, apply method‑level security, and handle thread‑bound security contexts for asynchronous processing.

AuthenticationAuthorizationJava
0 likes · 18 min read
Spring Security Guide: Authentication, Authorization, and Customizing Filter Chains
dbaplus Community
dbaplus Community
Dec 16, 2019 · Databases

MySQL 8.0 vs MariaDB 10.4: Authentication, InnoDB, Clone, Optimizer & Backup Highlights

This article compares key new features of MySQL 8.0 and MariaDB 10.4—including authentication plugin changes, Unix‑socket auth, atomic DDL, instant column adds, clone plugin usage, optimizer enhancements, resource groups, query‑rewrite, and backup tools—providing step‑by‑step commands, code snippets, and practical caveats for database upgrades.

AuthenticationMariaDBMySQL
0 likes · 21 min read
MySQL 8.0 vs MariaDB 10.4: Authentication, InnoDB, Clone, Optimizer & Backup Highlights
21CTO
21CTO
Dec 16, 2019 · Information Security

How SSO Works: From CAS Architecture to Real‑World Implementation

This article explains the background, architecture, and step‑by‑step authentication flow of Single Sign‑On systems, covering the classic CAS framework, Java implementation details, and Taobao's extended SSO design with code examples.

AuthenticationCASJava
0 likes · 8 min read
How SSO Works: From CAS Architecture to Real‑World Implementation
Programmer DD
Programmer DD
Dec 10, 2019 · Backend Development

Master JWT Authentication in Spring Security: From Basics to Implementation

This guide walks you through the various HTTP authentication methods, explains JWT Bearer authentication, and demonstrates how to implement a custom JwtAuthenticationFilter in Spring Security, configure it, and use JWT tokens for securing API endpoints, including token refresh handling.

AuthenticationBackendJWT
0 likes · 15 min read
Master JWT Authentication in Spring Security: From Basics to Implementation
Programmer DD
Programmer DD
Dec 1, 2019 · Information Security

How to Build an Extensible Form Login with Spring Security

This tutorial walks through customizing Spring Security to create a scalable, extensible form‑login mechanism, covering the basic login flow, Spring Security's built‑in login options, FormLoginConfigurer settings, practical controller code, security configuration, and how to add multiple login types such as JSON or CAPTCHA.

AuthenticationCustom Filterform login
0 likes · 11 min read
How to Build an Extensible Form Login with Spring Security
Programmer DD
Programmer DD
Nov 26, 2019 · Information Security

Understanding Cookies, Sessions, and Tokens: When and How to Use Each

This article explains the fundamental differences between cookies, sessions, and tokens, outlines how each works in web authentication, compares their security and performance trade‑offs, and offers practical guidance on storage, encryption, and best practices for implementing token‑based authentication.

AuthenticationCookieSession
0 likes · 13 min read
Understanding Cookies, Sessions, and Tokens: When and How to Use Each
IT Architects Alliance
IT Architects Alliance
Nov 21, 2019 · Backend Development

How Cookies, Sessions, and Tokens Keep Web Users Logged In

This article explains the stateless nature of HTTP and how cookies, server‑side sessions, and token‑based authentication work together to maintain user state across requests, including their storage limits, lifecycle, and practical implementation steps.

AuthenticationBackendSession
0 likes · 8 min read
How Cookies, Sessions, and Tokens Keep Web Users Logged In
Programmer DD
Programmer DD
Nov 3, 2019 · Information Security

Spring Security vs Apache Shiro: Which Java Security Framework Wins?

This article compares Spring Security and Apache Shiro, explaining their authentication and authorization features, filter‑chain mechanisms, RBAC model, and related security concepts to help Java developers choose the right framework for production‑grade web applications.

Apache ShiroAuthenticationRBAC
0 likes · 6 min read
Spring Security vs Apache Shiro: Which Java Security Framework Wins?
Selected Java Interview Questions
Selected Java Interview Questions
Nov 2, 2019 · Information Security

Understanding Single Sign-On (SSO) Mechanisms: Shared Session, OpenID, Cookie, and Cross‑Domain Solutions

This article explains the principles of single sign‑on and compares several practical implementations—including shared session via Redis, OpenID‑based authentication, cookie‑based OpenID storage, and cross‑domain JSONP techniques—while also discussing their limitations and security considerations.

AuthenticationOpenIDSSO
0 likes · 8 min read
Understanding Single Sign-On (SSO) Mechanisms: Shared Session, OpenID, Cookie, and Cross‑Domain Solutions
21CTO
21CTO
Oct 2, 2019 · Information Security

Mastering SSO: Session Sharing, OpenID, and Cross‑Domain Strategies

This article explores practical approaches to Single Sign‑On, comparing shared Session, OpenID‑based, and cookie‑based implementations, addressing scalability, cross‑domain challenges, and security considerations to help developers choose the right SSO solution for their architecture.

AuthenticationOpenIDSSO
0 likes · 8 min read
Mastering SSO: Session Sharing, OpenID, and Cross‑Domain Strategies
Java Captain
Java Captain
Sep 25, 2019 · Backend Development

Implementing QQ and Weibo One‑Click Login in a Java Backend

This guide details how to design the backend, database schema, authentication flow, and Java code required to integrate QQ and Weibo one‑click login for a website, covering token handling, user data retrieval, and practical security considerations.

AuthenticationJavaOAuth
0 likes · 14 min read
Implementing QQ and Weibo One‑Click Login in a Java Backend
Architecture Digest
Architecture Digest
Sep 16, 2019 · Backend Development

Designing a Unified Multi-Account Login System: Schemas, Flows, and One-Click Authentication

This article outlines the design of a unified multi‑account login system, covering self‑built phone‑number authentication, optimized password‑less login, third‑party integrations, database schema separation, and a one‑click carrier‑based login to improve user experience and scalability.

AuthenticationSecurityaccount design
0 likes · 16 min read
Designing a Unified Multi-Account Login System: Schemas, Flows, and One-Click Authentication
Architects Research Society
Architects Research Society
Sep 14, 2019 · Backend Development

Understanding API Gateways and Their Role in Microservice Architectures

This article explains what an API gateway is, why it is essential in microservice architectures, and how it handles cross‑cutting concerns such as authentication, transport security, load balancing, request routing, dependency resolution, and data transformation, illustrated with a simple Node.js gateway example and code snippets.

API GatewayAuthenticationNode.js
0 likes · 11 min read
Understanding API Gateways and Their Role in Microservice Architectures
Java Captain
Java Captain
Sep 1, 2019 · Information Security

Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control

This tutorial demonstrates how to integrate the lightweight Apache Shiro security framework into a Spring Boot 2.1.5 project, covering environment setup, Maven dependencies, Redis session storage, custom utilities, Shiro configuration, permission annotations, test controllers, and Postman verification.

AuthenticationAuthorizationJava
0 likes · 27 min read
Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control
Programmer DD
Programmer DD
Aug 10, 2019 · Information Security

Secure Your Spring Boot App with Apache Shiro: Auth, Authz, and Redis

This article walks through integrating Apache Shiro into a Spring Boot project to handle authentication, authorization, session management, and caching, including custom realms, Redis-backed sessions, and cache managers, while providing detailed code examples and configuration guidance.

Apache ShiroAuthenticationAuthorization
0 likes · 20 min read
Secure Your Spring Boot App with Apache Shiro: Auth, Authz, and Redis
Ziru Technology
Ziru Technology
Jul 25, 2019 · Backend Development

Why Did Our CAS Login Fail? Uncovering Session Sharing Issues and Fixes

A July 3 CAS extension caused login failures due to inconsistent JSESSIONID handling across servers, leading to redirects and authentication errors, which were traced to missing memory‑cache configuration and resolved by removing the misconfigured node and restoring proper session sharing.

AuthenticationSessionjsessionid
0 likes · 9 min read
Why Did Our CAS Login Fail? Uncovering Session Sharing Issues and Fixes
MaGe Linux Operations
MaGe Linux Operations
Jul 20, 2019 · Operations

When a Production Database Vanishes: Lessons from a Dev’s Nightmare

A developer recounts how a misconfigured production environment led to the accidental deletion of both content and user databases, the frantic scramble to diagnose the issue, the discovery of a backup oversight, and the hard‑earned lessons on backups, testing, and authentication security.

Authenticationbackupdatabase
0 likes · 9 min read
When a Production Database Vanishes: Lessons from a Dev’s Nightmare
Java Captain
Java Captain
May 21, 2019 · Backend Development

QR Code Login Mechanism: Web and Mobile Interaction Overview

This article explains the QR‑code login process, detailing how the web front‑end, server, Redis store, and mobile application cooperate to generate a QR code, verify the scan, and complete user authentication using tokens and UUIDs.

AuthenticationBackendQR Code Login
0 likes · 5 min read
QR Code Login Mechanism: Web and Mobile Interaction Overview
Java Captain
Java Captain
Apr 22, 2019 · Information Security

Token‑Based Authentication: Classification, Scenarios, and Hierarchical Design

This article analyses various client‑side authentication scenarios, classifies tokens into password, session, and API categories, compares their natural and controllable attributes, and proposes a four‑layer hierarchical token architecture to improve security, usability, and decoupling across multiple platforms.

Access ControlAuthenticationSecurity
0 likes · 13 min read
Token‑Based Authentication: Classification, Scenarios, and Hierarchical Design
Tencent Cloud Developer
Tencent Cloud Developer
Apr 12, 2019 · Information Security

Comprehensive Overview of Authentication: From Historical Tokens to Modern OAuth 2.0 and WeChat Mini‑Program Practices

The article surveys authentication from ancient token methods to modern password and session techniques, explains OAuth 2.0 flows and their adaptation for WeChat Mini‑Programs—including access‑token retrieval, simplified client‑credentials grants, and cloud‑call automation—while also previewing future trends such as biometrics, blockchain‑based decentralization, and AI‑driven trust models.

AuthenticationOAuth 2.0Security
0 likes · 13 min read
Comprehensive Overview of Authentication: From Historical Tokens to Modern OAuth 2.0 and WeChat Mini‑Program Practices
360 Tech Engineering
360 Tech Engineering
Apr 9, 2019 · Cloud Native

Microservice Gateway (Kong) and Container Service Integration

This article explains microservice architecture and the role of API gateways, introduces Kong as a high‑availability gateway, and provides a step‑by‑step guide for deploying containerized AI services (face, pet, and content moderation) and integrating them with Kong for authentication, rate‑limiting, and secure access.

API GatewayAuthenticationKong
0 likes · 7 min read
Microservice Gateway (Kong) and Container Service Integration
58 Tech
58 Tech
Mar 22, 2019 · Backend Development

Architecture Overview of the 58 Open Platform: API Gateway, Fault Tolerance, Rate Limiting, and Real‑time Messaging

The article details the evolution and current architecture of the 58 Open Platform, covering its API gateway, multi‑protocol support, authentication mechanisms, distributed rate‑limiting, circuit‑breaking, thread‑pool isolation, and a Netty‑based real‑time message‑push system, while outlining future service‑marketplace and serverless plans.

API GatewayAuthenticationCircuit Breaking
0 likes · 13 min read
Architecture Overview of the 58 Open Platform: API Gateway, Fault Tolerance, Rate Limiting, and Real‑time Messaging
Java Architecture Diary
Java Architecture Diary
Mar 20, 2019 · Information Security

Extending Spring OAuth2 Token Validation to Populate Full User Details

This article explains how to customize the default OAuth2 check‑token flow in Spring Cloud by extending the token converter to assemble complete user information—including IDs, department and tenant data—directly into the security context, eliminating extra database queries and improving performance.

AuthenticationJavaOAuth2
0 likes · 5 min read
Extending Spring OAuth2 Token Validation to Populate Full User Details
Architects Research Society
Architects Research Society
Feb 20, 2019 · Backend Development

Understanding API Gateways: Roles, Implementation, and a Node.js Example

This article explains what API gateways are, why they are essential in micro‑service architectures, outlines the cross‑cutting concerns they address such as authentication, transport security, load balancing, request routing, dependency resolution and data transformation, and provides a practical Node.js implementation with code samples.

API GatewayAuthenticationTransport Security
0 likes · 13 min read
Understanding API Gateways: Roles, Implementation, and a Node.js Example
DevOps Cloud Academy
DevOps Cloud Academy
Jan 17, 2019 · Operations

How to Install and Configure the SonarQube GitLab Authentication Plugin

This guide explains how to download, install, and configure the SonarQube GitLab authentication plugin, including plugin installation via Maven, setting up a GitLab application with HTTPS, configuring SonarQube authentication parameters, and troubleshooting common redirect URL errors.

AuthenticationConfigurationDevOps
0 likes · 2 min read
How to Install and Configure the SonarQube GitLab Authentication Plugin
Tencent Cloud Developer
Tencent Cloud Developer
Dec 26, 2018 · Backend Development

Cloud Development for Mini Programs: Simplifying Backend Services

Cloud development for mini programs streamlines backend creation by offering a document database, CDN‑linked storage, and server‑less functions, letting developers focus on business logic while eliminating server purchases, domain setup, and complex configuration, and providing unified authentication, one‑click provisioning, and future‑ready API extensions.

API integrationAuthenticationbackend services
0 likes · 10 min read
Cloud Development for Mini Programs: Simplifying Backend Services
Tencent Cloud Developer
Tencent Cloud Developer
Dec 18, 2018 · Information Security

Designing a Relatively Secure Account System: Authentication, Authorization, and Auditing

Designing a relatively secure account system requires integrating strong multi-factor authentication, fine-grained authorization models like RBAC or ABAC, and continuous real-time and offline auditing to mitigate breaches, while recognizing that absolute security is impossible and ongoing vigilance is essential.

Access ControlAuditAuthentication
0 likes · 17 min read
Designing a Relatively Secure Account System: Authentication, Authorization, and Auditing
21CTO
21CTO
Nov 28, 2018 · Backend Development

Why Laravel’s Powerful Features Can Supercharge Your PHP Development

This article introduces Laravel, a modern PHP framework, highlighting its MVC architecture, robust ORM, Blade templating, streamlined routing, controller organization, and built‑in authentication, while providing code examples to show how these features boost developer productivity.

AuthenticationBladeLaravel
0 likes · 6 min read
Why Laravel’s Powerful Features Can Supercharge Your PHP Development
58 Tech
58 Tech
Oct 10, 2018 · Information Security

Account Integration Solutions for 58 Group: Merging, Linking, and Cloud Account Platform

This article examines the challenges of unifying multiple independent account systems within 58 Group and presents three technical approaches—full account merging, account linking with single sign‑on, and a unified cloud account platform—detailing their benefits, difficulties, and implementation considerations.

AuthenticationSecurityaccount-integration
0 likes · 11 min read
Account Integration Solutions for 58 Group: Merging, Linking, and Cloud Account Platform
Java Captain
Java Captain
Sep 6, 2018 · Backend Development

Implementation Principles of QR Code Login

This article explains the architecture and step‑by‑step workflow of QR code login, covering how the web front‑end, mobile client, and server (including Redis storage and token verification) cooperate to generate a QR code, poll for authentication, and complete a secure user login.

AuthenticationQR Code LoginRedis
0 likes · 7 min read
Implementation Principles of QR Code Login
21CTO
21CTO
Sep 2, 2018 · Information Security

How API Gateways Strengthen API Security: Benefits, Risks, and Best Practices

This article explores the critical role of API gateways in securing APIs, covering their advantages, drawbacks, common threats, authentication methods, communication safeguards, logging practices, and a shortlist of popular open‑source gateway solutions.

API GatewayAPI SecurityAuthentication
0 likes · 10 min read
How API Gateways Strengthen API Security: Benefits, Risks, and Best Practices
Python Programming Learning Circle
Python Programming Learning Circle
Aug 11, 2018 · Backend Development

Top 8 Essential Laravel Packages for Building Robust APIs

This article introduces eight indispensable Laravel packages—ranging from debugging and JWT authentication to ACL management, data transformation, UUID generation, image handling, push notifications, and automated backups—that together streamline and enhance the development of API‑centric backend applications.

AuthenticationLaravelPHP Packages
0 likes · 5 min read
Top 8 Essential Laravel Packages for Building Robust APIs
Big Data and Microservices
Big Data and Microservices
Aug 4, 2018 · Information Security

How CAS Enables Secure Single Sign-On: Architecture and Workflow Explained

CAS (Central Authentication Service) is an open‑source, enterprise‑grade single sign‑on solution that centralizes user authentication across trusted systems, offering reduced login time, improved security, and streamlined user management, with a clear protocol flow involving service tickets, redirects, and encrypted cookies.

AuthenticationCASSSO
0 likes · 5 min read
How CAS Enables Secure Single Sign-On: Architecture and Workflow Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 30, 2018 · Information Security

Understanding OAuth2.0 Authorization Code Grant Flow

This article explains the OAuth2.0 authorization code grant flow, using a Douban‑QQ login example to illustrate the three-step process from client request to token exchange and user information retrieval, and provides a simple reference implementation on GitHub.

AuthenticationAuthorization CodeOAuth Flow
0 likes · 7 min read
Understanding OAuth2.0 Authorization Code Grant Flow
Big Data and Microservices
Big Data and Microservices
Jul 23, 2018 · Information Security

Understanding Apache Shiro: Core Concepts and Architecture Explained

This article introduces Apache Shiro, a lightweight Java security framework, and explains its three core concepts—Subject, SecurityManager, and Realms—while detailing the full system architecture including authenticators, authorizers, session management, caching, and cryptography components.

Apache ShiroAuthenticationAuthorization
0 likes · 5 min read
Understanding Apache Shiro: Core Concepts and Architecture Explained
Java Architect Essentials
Java Architect Essentials
May 28, 2018 · Information Security

How to Secure RESTful APIs: Authentication, Encryption, and Authorization Strategies

This guide explains the three core pillars of RESTful API security—client authentication, data encryption, and post‑authentication authorization—detailing practical methods such as signature keys, HTTP Basic/Digest, OAuth, SSL, selective encryption with salts, and role‑based access control.

AuthenticationAuthorizationHTTP Digest
0 likes · 4 min read
How to Secure RESTful APIs: Authentication, Encryption, and Authorization Strategies
Meituan Technology Team
Meituan Technology Team
May 17, 2018 · Information Security

Performance Optimization and Monitoring of Kerberos KDC Service

The article examines Kerberos KDC performance issues on Meituan‑Dianping’s data platform, showing that PREAUTH halves throughput while RAID10 has little effect, and that a single‑CPU core limits QPS; deploying 40 processes and disabling PREAUTH raises throughput over tenfold, and a lock‑free shared‑memory monitoring module with the kstat tool provides real‑time metrics for troubleshooting.

AuthenticationKDCKerberos
0 likes · 17 min read
Performance Optimization and Monitoring of Kerberos KDC Service
ITPUB
ITPUB
May 5, 2018 · Databases

What Happens When You Accidentally Delete a Production Database? Lessons Learned

A developer recounts a terrifying production database deletion, discovers a mis‑configured database pointer, learns the critical importance of backups, and shares hard‑won authentication lessons and four practical steps to turn such failures into future success.

Authenticationlessonsproduction
0 likes · 9 min read
What Happens When You Accidentally Delete a Production Database? Lessons Learned
JD Retail Technology
JD Retail Technology
Apr 18, 2018 · Information Security

Secure One‑Time Token Design for Long‑Connection Services

The article explains the challenges of protecting long‑connection services from abuse and presents a one‑time secure token architecture—including gateway SDK, token generation, Redis caching, and verification modules—to ensure authentication, prevent replay attacks, and improve service robustness.

AuthenticationBackendLong Connection
0 likes · 10 min read
Secure One‑Time Token Design for Long‑Connection Services
Programmer DD
Programmer DD
Apr 18, 2018 · Information Security

Mastering JWT-Based User Authentication: An 8‑Step Guide

This article walks through an eight‑step JWT authentication flow, explaining how to securely transmit user IDs via cookies, verify tokens on each request, compare JWT with traditional session storage, and configure domain‑wide cookies for single sign‑on across subdomains.

AuthenticationCookieJWT
0 likes · 7 min read
Mastering JWT-Based User Authentication: An 8‑Step Guide
Java Backend Technology
Java Backend Technology
Jan 31, 2018 · Information Security

Why JWT Is Replacing Cookies for Stateless Web Authentication

This article explains HTTP's stateless nature, how cookies and server‑side sessions try to overcome it, the challenges of session sharing in clustered environments, and why JSON Web Tokens (JWT) provide a lightweight, secure, and scalable alternative for modern authentication.

AuthenticationJWTSession
0 likes · 14 min read
Why JWT Is Replacing Cookies for Stateless Web Authentication
Programmer DD
Programmer DD
Jan 14, 2018 · Backend Development

Integrating Spring Security with MyBatis for Database‑Based Login

This guide shows how to combine Spring Security and MyBatis to implement username‑password authentication backed by a MariaDB database, covering repository cloning, database setup, Maven execution, and a deep dive into the underlying authentication filter and provider classes with code examples.

AuthenticationJavaMyBatis
0 likes · 9 min read
Integrating Spring Security with MyBatis for Database‑Based Login
Programmer DD
Programmer DD
Jan 11, 2018 · Information Security

Master Spring Security: A Hands‑On Guide to @EnableWebSecurity and HttpSecurity Configuration

This tutorial walks you through setting up a Spring Boot project with Spring Security, explains the @EnableWebSecurity annotation, shows how to extend WebSecurityConfigurerAdapter, demonstrates overriding configure(AuthenticationManagerBuilder) and configure(HttpSecurity) methods with concrete code examples, and provides a concise reference table of common HttpSecurity methods.

AuthenticationHttpSecurityJava
0 likes · 7 min read
Master Spring Security: A Hands‑On Guide to @EnableWebSecurity and HttpSecurity Configuration
DevOps
DevOps
Jan 7, 2018 · Information Security

Resolving Git Authentication Failures on Windows Using Credential Manager and SSH Keys

This guide explains two methods to overcome Git authentication errors on Windows—configuring Git Credential Manager for Basic authentication and generating SSH keys—to securely connect to TFS/VSTS Git repositories, including required commands, setup steps, and credential storage details.

AuthenticationCredential ManagerGit
0 likes · 6 min read
Resolving Git Authentication Failures on Windows Using Credential Manager and SSH Keys
ITPUB
ITPUB
Jan 3, 2018 · Information Security

How Ransomware Hijacks MySQL and What You Can Do to Stop It

The article explains how attackers compromise MySQL servers, create a WARNING table with ransom instructions demanding Bitcoin, and provides concrete SQL examples and four practical defense measures—including strong authentication, disabling public access, regular backups, and application hardening—to protect databases.

AuthenticationDatabase SecurityMySQL
0 likes · 6 min read
How Ransomware Hijacks MySQL and What You Can Do to Stop It
Programmer DD
Programmer DD
Jan 2, 2018 · Information Security

Understanding Spring Security Architecture: Authentication, Authorization, and Filter Chains

This guide provides a deep dive into Spring Security's architecture, explaining how authentication and authorization are separated, how the AuthenticationManager and AccessDecisionManager work, how web filter chains are organized, and how to apply method‑level security and thread‑local context handling in Java applications.

AuthenticationAuthorizationFilter Chain
0 likes · 17 min read
Understanding Spring Security Architecture: Authentication, Authorization, and Filter Chains
dbaplus Community
dbaplus Community
Dec 3, 2017 · Databases

Why MySQL Connector/NET Randomly Fails Authentication and How to Fix It

An intermittent MySQL authentication error on Windows caused by the Connector/NET driver’s slow WMI OS‑info query triggers a server‑side timeout, and the article explains how packet analysis revealed the root cause and how caching or removing the WMI call resolves the issue.

AuthenticationConnector.NETMySQL
0 likes · 7 min read
Why MySQL Connector/NET Randomly Fails Authentication and How to Fix It
dbaplus Community
dbaplus Community
Sep 9, 2017 · Information Security

Why MongoDB Nodes Are Getting Hijacked and How to Secure Them

The article examines the widespread exposure of MongoDB instances on default ports, outlines how attackers hijack them, and provides concrete steps—including enabling authentication, configuring role‑based access, encrypting traffic, and limiting network exposure—to secure MongoDB deployments.

AuthenticationAuthorizationMongoDB
0 likes · 7 min read
Why MongoDB Nodes Are Getting Hijacked and How to Secure Them
UCloud Tech
UCloud Tech
Sep 5, 2017 · Information Security

How MongoDB Attacks Happen and What UCloud Does to Secure Your Data

The article explains why thousands of MongoDB instances are repeatedly compromised—due to password‑less logins and public exposure—details the inherent design flaws, and describes UCloud’s UDB MongoDB security measures such as mandatory authentication, VPC isolation, data backup, and performance‑friendly connection pooling.

AuthenticationDatabase SecurityMongoDB
0 likes · 6 min read
How MongoDB Attacks Happen and What UCloud Does to Secure Your Data
Architecture Digest
Architecture Digest
Sep 5, 2017 · Information Security

Security Authentication and Authorization Strategies for Microservice Architecture

This article examines the challenges of securing microservice architectures and compares various authentication and authorization approaches—including SSO, distributed sessions, client‑token schemes, JWT, and OAuth 2.0—to help developers choose suitable solutions for efficient and fine‑grained access control.

AuthenticationAuthorizationJWT
0 likes · 15 min read
Security Authentication and Authorization Strategies for Microservice Architecture
Hujiang Technology
Hujiang Technology
Aug 30, 2017 · Information Security

Design Principles and Security Considerations for User Account Systems

This article shares practical insights on building robust user account systems, covering the shift from usernames to phone numbers as unique identifiers, the drawbacks of passwords, the limited value of periodic password changes, the pitfalls of security questions, and best practices for token management, SMS/voice verification, captcha usage, and multi‑layered future security strategies.

AuthenticationPasswordlessSMS verification
0 likes · 14 min read
Design Principles and Security Considerations for User Account Systems
Programmer DD
Programmer DD
Aug 11, 2017 · Backend Development

How @EnableResourceServer Configures OAuth2 Token Validation in Spring Security

This article breaks down the internal workflow of Spring Security’s @EnableResourceServer, explaining how OAuth2 tokens are extracted, validated, and turned into authentication objects through ResourceServerSecurityConfigurer, OAuth2AuthenticationProcessingFilter, OAuth2AuthenticationManager, and related components.

AuthenticationJavaOAuth2
0 likes · 11 min read
How @EnableResourceServer Configures OAuth2 Token Validation in Spring Security
Ctrip Technology
Ctrip Technology
Jun 5, 2017 · Information Security

Evolution of Ctrip's Graphical Captcha Service: From 1.0 to 2.0

This article recounts the development of Ctrip's graphical captcha system, describing its early .NET‑based implementation, the challenges encountered such as uniform difficulty, limited data collection, and poor user experience, and how successive redesigns—including multilingual support, adaptive difficulty, and slider‑plus‑character selection—balanced security and usability.

AuthenticationCAPTCHAWeb Security
0 likes · 14 min read
Evolution of Ctrip's Graphical Captcha Service: From 1.0 to 2.0
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Apr 14, 2017 · Information Security

Implementing a Lightweight User Authentication Mechanism for Hadoop at Tongcheng Travel

This article describes the design, implementation, and deployment of a custom Hadoop security solution that introduces username‑password authentication via RPC, integrates a new protobuf protocol, modifies NameNode behavior, and provides rollout tools to secure a large‑scale shared Hadoop cluster without service interruption.

AuthenticationHadoopKerberos
0 likes · 9 min read
Implementing a Lightweight User Authentication Mechanism for Hadoop at Tongcheng Travel
Efficient Ops
Efficient Ops
Mar 28, 2017 · Operations

How We Scaled Server Authentication with OpenLDAP: A Real‑World Operations Journey

This article walks through a vehicle‑networking company's four‑stage journey—selection, requirement analysis, implementation, and evolution—to replace fragmented SSH passwords with a centralized OpenLDAP authentication platform, covering cost decisions, deployment steps, security hardening, and management automation.

AuthenticationOpenLDAPoperations
0 likes · 13 min read
How We Scaled Server Authentication with OpenLDAP: A Real‑World Operations Journey
Efficient Ops
Efficient Ops
Jan 8, 2017 · Databases

Why MongoDB Instances Get Hacked and How to Secure Them on the Cloud

This article explains the root causes of unauthenticated public‑IP MongoDB breaches, outlines UCloud's built‑in security safeguards, and provides step‑by‑step guidance for hardening self‑hosted MongoDB and smoothly migrating it to a cloud‑managed service.

AuthenticationMongoDBSecurity
0 likes · 8 min read
Why MongoDB Instances Get Hacked and How to Secure Them on the Cloud