开发者

Any library for authentication in a java web-app?

Hi I am look for a proven java security web-library which is a bit more low-level and th开发者_StackOverflow中文版erefore less intrusive than the well known frameworks spring-security and apache shiro.

Just something which has best-practive utility-apis for example to encode a remember-me cookie or for dighest authentication, accessing ldap. All the sutff which is so useful in the above frameworks but without needing to follow the frameworks filters and indriections an application-context or yet another ini file etc.


Have a look at the Apache Shiro project it does a lot more then the standard libraries, and makes it really easy.


Well, you can always use the HttpServletRequest.login() method or j_security_check and implement an auth manager beneath it for your particular server, that's pretty much the default & low level standard thing... Your only real other choice is, as you mentioned, security frameworks.


If you don't want to use either of one, use container-managed security which both Tomcat and Jetty provide.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜