且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Java EE的Spring Security框架?

更新时间:2023-12-04 11:27:28

如果Java EE安全模型和Spring Security都不适合您的需要,那么恐怕您必须自行创建自定义解决方案 - 也许是自定义JAAS LoginModule - 因为你不会找到任何等同的东西(至少不是在我的知识的开源世界)。但是请注意,JAAS并不是一个愉快的API,这不是一件容易的事情。有关此主题的更多资源,请参阅有关安全性的更多信息 (见页面底部)。

If neither the Java EE security model nor Spring Security suit your needs, then I'm afraid you'll have to roll out your own custom solution - maybe a custom JAAS LoginModule - as you won't find anything equivalent (at least not in the open source world to my knowledge). But be aware, JAAS is not really a pleasant API and this won't be an easy task. More resources on this topic in Further Information about Security (see the bottom of the page).