Implementing JWT Authentication in ASP.NET Core Web API: Building an Authentication Center

This series provides a concise guide on using JWT (JSON Web Tokens) to create tokens for authentication in an ASP.NET Core Web API. 1. Create a ASP.NET Core Web API Project We'll be using Visual Studio 2019 with .NET Core 3.1. 2. Add JWT Services 2.1 Install the NuGet Package Install System.IdentityModel.Tokens.Jwt via NuGet Package Manager. 2. ...

Posted on Sun, 07 Jun 2026 18:09:41 +0000 by kitcorsa

Building a GVA-Based Admin System with Gin, Vue, and JWT

Login Handling with Sestion and JWT Session-based authentication is required to restrict page access to logged-in users only. The Gin framework provides session middleware via github.com/gin-contrib/sessions. import "github.com/gin-contrib/sessions" rootRouter.GET("/login", func(c *gin.Context) { session := sessions.Def ...

Posted on Tue, 02 Jun 2026 18:38:17 +0000 by jexx

JWT Authentication Implementation for Login Verification

Understanding JWT Structure JWT (JSON Web Token) is an open standard (RFC 7519) that defines a compact method for securely transmitting information betwean parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs are commonly used for authentication and authorization purposes in web application ...

Posted on Thu, 28 May 2026 18:34:37 +0000 by rishiraj

Java Backend Employee and Department Management: Global Exception Handling, Login Validation, AOP, and Transaction Management

Login Module After completing all the previous modules, we continue with login validation, global exception handling, transaction management, and AOP. A simple login checks the database for the employee. This can be implemented using a three-layer architecture. Controller Layer Create a LoginController class dedicated to handling login requests ...

Posted on Tue, 19 May 2026 06:56:45 +0000 by gkep

Securing Microservice Discovery with Eureka: End-to-End Protection Patterns

Why Discovery Security Matters When every microservice is reachable over the network, the service registry becomes the first line of defense. An unprotected Eureka instance can be used to: Inject rogue endpoints into the load-balancer Exfiltrate configuration metadata Trigger cascading failures via forged health checks This guide shows how to ...

Posted on Sun, 17 May 2026 14:56:21 +0000 by markmusicman

University Laboratory Resource Management System with Spring Boot, Vue, and UniApp

This system provides a unified platform for managing laboratory assets, booking schedules, equipment maintenance logs, and user permissions across academic institutions. Built with a modern full-stack architecture, it supports web and mobile access through responsive Vue-based dashboards and cross-platform uniapp clients. Architecture Overview ...

Posted on Fri, 15 May 2026 06:09:28 +0000 by activeserver

Managing Session Persistence Using Dual JWT Tokens in Vue and SpringBoot

Architecture Overview To enhance session security and manage user persistence, the architecture employs a pair of JSON Web Tokens (JWT). An access_token handles immediate API requests with a short lifespan (e.g., 30 minutes), while a refresh_token maintains longer-term validity (e.g., 60 minutes) to extend sessions without re-authentication. Wh ...

Posted on Thu, 14 May 2026 22:05:39 +0000 by eekeek

Securing Data Transmission with JSON Web Tokens

JSON Web Tokens (JWT) are a compact, URL-safe means of representing claims to be transferred between two parties. By employing digital signatures, JWTs ensure that data remains tamper-proof during transit. Structure of a JWT A JWT is composed of three distinct segments separated by periods: Header: Specifies the algorithm and token type. Paylo ...

Posted on Thu, 14 May 2026 05:27:11 +0000 by Chamza

Java RSA Cryptography and JWT Token Implementation Guide

RSA Asymmetric Encryption Implementation The following example demonstrates a complete RSA encryption utility for generating key pairs, encrypting data with public keys, and decryptign with private keys. This implementation uses Java's built-in cryptographic providers with Base64 encoding for key and data portability. import javax.crypto.Cipher ...

Posted on Wed, 13 May 2026 13:41:45 +0000 by rskandarpa

Web Frontend Architect: Editor Component Development

1. Introduction Preface Welcome back to the development of the B-side project. This week we will focus on coding the right-side settings part of the editor, completing component property settings, layer settings, and page settings. To avoid getting lost in business complexities, we'll cover several typical features and knowledge points. What ...

Posted on Mon, 11 May 2026 01:12:33 +0000 by nishanthc12