Andy's Blog
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链
Spring Security customizing status code, and prevent other codes overridden by 403

Spring Security customizing status code, and prevent other codes overridden by 403

The Spring Security will override all errors like 400, 405, and 500 to 403, and we may want to use 401 for unauthorized requests. This article will solve this problem by customizing an Authenticati
2023-07-05
技术 > 软件开发 > 后端开发
#Spring #Spring Boot #Spring Security #HTTP
Spring Security 自定义状态码,防止正常状态码被 403 覆盖

Spring Security 自定义状态码,防止正常状态码被 403 覆盖

在项目中加入 Spring Security 后,它会将所有的错误状态码覆盖为 403,例如 400, 405 和 500,我们也可能需要将 403 改为 401 作为未登录的状态码。本文将介绍如何自定义 AuthenticationEntryPoint 以解决此问题。
2023-07-05
技术 > 软件开发 > 后端开发
#Spring #Spring Boot #Spring Security #HTTP
Element UI 通用图片骨架屏组件

Element UI 通用图片骨架屏组件

近年来,骨架屏(Skeleton)逐渐成为一种流行的加载动画,其显著增强了用户等待过程中的体验。本文实现了 Vue.js + Element UI 的通用图片骨架屏组件。
2022-11-16
技术 > 软件开发 > 前端开发
#前端 #Vue.js #Element UI #骨架屏
一个没有密码保护的 frp 服务器有多不安全

一个没有密码保护的 frp 服务器有多不安全

当使用 frp 时,务必开启权限验证。
2022-10-30
技术 > 安全
#frp #安全
Windows 连接 smb 非标准端口

Windows 连接 smb 非标准端口

当使用家庭宽带将 smb 服务转发到公网时,由于 445 端口被封,必须使用其它端口,而 Windows 系统只支持连接标准端口,需要通过端口转发解决此问题。
2022-09-03
技术 > 经验分享
#Windows #端口转发
【MCDR Tutorials 01】Introduction

【MCDR Tutorials 01】Introduction

The significant server management tool.
2022-08-23
Minecraft > MCDR系列教程
#Minecraft #MCDReforged #Python
【MCDR 系列教程 01】简介

【MCDR 系列教程 01】简介

划时代的服务端管理工具。
2022-08-23
Minecraft > MCDR系列教程
#Minecraft #MCDReforged #Python
如何科学地买菜:阶梯菜价

如何科学地买菜:阶梯菜价

当一个商品的价格以阶梯上涨,如何科学地计算单价和总价?
2022-08-09
学术 > 沙雕系列
#生活 #数学 #微积分
购买西数 4T 新紫盘

购买西数 4T 新紫盘

以前搭 NAS 的时候用了块家里旧台式机拆下来的硬盘,只有 512G,容量一直挺吃紧的,加上这个硬盘快十年了,不放心安全性,决定换个新的。
2022-08-02
日常 > 开箱
#开箱
Git Conventional Commits

Git Conventional Commits

The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write
2022-06-28
技术 > 软件开发 > Git
#Git #GitHub #VS Code
12345

搜索

Hexo Fluid