【异常】SpringSecurity登录失败:Full authentication is required to access this resource

本文主要探讨了当遇到SpringSecurity登录错误'Full authentication is required to access this resource'时,如何从前端和后端进行排查和解决。经过前端URL修改和后端SpringSecurity配置检查,最终发现是前端传递的/api前缀导致的问题,修正后成功解决登录异常。
摘要由CSDN通过智能技术生成

一、报错提示

在这里插入图片描述
在这里插入图片描述

SpringSecurity提示如下内容:

2023-01-07 06:08:51.843 [cdi-ids-commonprovider] [http-nio-9092-exec-14] 
WARN  com.desaysv.tsp.logic.ids.config.MyAuthenticationEntryPoint - 
登录失败:Full authentication is required to access this resource

二、排查问题

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

本本本添哥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值