didi / logicommon Goto Github PK
View Code? Open in Web Editor NEWJava版 认证、鉴权、管理、任务调度通用功能组件
License: Apache License 2.0
Java版 认证、鉴权、管理、任务调度通用功能组件
License: Apache License 2.0
根据 readme 的介绍,logi-security 提供了注册和注销功能,如下图所示:
但在仔细阅读源码后,仅在 AccountController
类中发现了登录功能,注册和注销功能并未实现。
结合 UserServiceImpl
类的 verifyLogin()
方法和 LogiSecurityInterceptor
类的 preHandle()
方法,logi-security 的登录验证,貌似是仅通过 HTTP 请求是否存在 X-SSO-USER
header 来判断用户是否登录的,但这样的验证毫无安全可言。
在谦虚学习完 logi-security 的源码后,我很好奇你们对于 logi-common 的定位是什么?readme 给人的第一感觉是要做一个开箱即用的基础模块,但源码在某些细节上好像处理地并不完善。另外,好像只有一个 contributer,且已经好几个月未有新提交了,所以该项目是 EOL了?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.