会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
twinkler
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
下一页
2024年2月14日
注册和登录的实现
摘要: 一、注册 在注册过程中,除了要对用户提交的注册信息的合法性进行验证,还要对用户的密码进行加密存储,这是注册流程的重点和难点。 用户密码的加密,要通过BCryptPasswordEncoder对象上的encode方法来实现,这个方法返回了一个加密的字符串。 PasswordEncoder passwo
阅读全文
posted @ 2024-02-14 12:08 徐徐丶
阅读(38)
评论(0)
推荐(0)
2024年2月13日
深度选择器
摘要: 注意:深度属性只有在scoped下才会生效 .el-input { border: 1px; height: 50px; font-size: 15px; margin-bottom: 20px; } .el-input :deep(.el-input__wrapper){ padding: 1px
阅读全文
posted @ 2024-02-13 14:09 徐徐丶
阅读(17)
评论(0)
推荐(0)
2024年2月12日
SecurityConfiguration
摘要: package com.oep.backend.config; import com.oep.backend.config.filter.JwtAuthenticationTokenFilter; import org.springframework.beans.factory.annotation
阅读全文
posted @ 2024-02-12 23:04 徐徐丶
阅读(40)
评论(0)
推荐(0)
JwtAuthenticationTokenFilter
摘要: package com.oep.backend.config.filter; // 实现config.filter.JwtAuthenticationTokenFilter类,用来验证jwt token,如果验证成功,则将User信息注入上下文中 import com.oep.backend.map
阅读全文
posted @ 2024-02-12 21:45 徐徐丶
阅读(429)
评论(0)
推荐(0)
2024年2月9日
src.backend.utils.JwtUtil
摘要: package com.oep.backend.utils; import io.jsonwebtoken.Claims; import io.jsonwebtoken.JwtBuilder; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.s
阅读全文
posted @ 2024-02-09 14:14 徐徐丶
阅读(80)
评论(0)
推荐(0)
SpringSecurity
摘要: 1、项目依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>2.7.14</version> </depe
阅读全文
posted @ 2024-02-09 12:57 徐徐丶
阅读(28)
评论(0)
推荐(0)
com.oep.backend.serviceImpl.UserDetailsServiceImpl
摘要: package com.oep.backend.serviceImpl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.oep.backend.mapper.AccountMapper;
阅读全文
posted @ 2024-02-09 12:53 徐徐丶
阅读(28)
评论(0)
推荐(0)
com.oep.backend.serviceImpl.utils.UserDetailsImpl
摘要: package com.oep.backend.serviceImpl.utils; import com.oep.backend.pojo.Account; import lombok.AllArgsConstructor; import lombok.Data; import lombok.No
阅读全文
posted @ 2024-02-09 12:44 徐徐丶
阅读(21)
评论(0)
推荐(0)
2024年2月6日
css心得
摘要: 1、justify和align justify和align必须是flex布局才会生效(display: flex;) justify是水平方向,align是垂直方向,content是整个容器,items是容器里面的内容 justify-content: center; /* 水平居中 */ alig
阅读全文
posted @ 2024-02-06 17:41 徐徐丶
阅读(11)
评论(0)
推荐(0)
解决警告:Feature flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__
摘要: 如果你也发现了上述警告,传送门:https://vuejs.org/api/compile-time-flags#webpack, 感谢文章https://stackoverflow.com/questions/77752897/feature-flag-vue-prod-hydration-mis
阅读全文
posted @ 2024-02-06 15:27 徐徐丶
阅读(4128)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告