Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
This post was edited and submitted for review 2 years ago and failed to reopen the post:
Original close reason(s) were not resolved
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
您已经实施了用于身份验证和授权的自定义安全模型。如果其他人要查看您的代码,他们将能够最终弄清楚,但他们会有很多问题。基于春季安全的实现更容易理解和扩展。春季安全性还为测试提供了支持。
如果要切换到基于OAuth的AUTH模型,则必须自己执行。弹簧安全将使此过渡更快。
You have implemented custom security model for authentication and authorization. If someone else is to look at your code, they would be able to eventually figure it out but they would have many questions. Spring security based implementation is easier to understand and extend. Spring security also provides support for testing.
If you were to switch to an oauth based auth model, you would have to do it yourself. Spring security would make this transition mush faster.