在java web-app中进行身份验证的任何库? [英] Any library for authentication in a java web-app?
问题描述
您好我正在寻找一个经过验证的java安全网络库,它比普通的框架spring-security和apache shiro更低级别,因此更少侵入。
Hi I am look for a proven java security web-library which is a bit more low-level and therefore less intrusive than the well known frameworks spring-security and apache shiro.
只是具有最佳实用性apis的东西,例如编码记住我的cookie或进行最新认证,访问ldap。所有sutff在上面的框架中非常有用但不需要遵循框架过滤器和indriections应用程序上下文或另一个ini文件等。
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.
推荐答案
好吧,你总是可以使用 HttpServletRequest.login()
方法或 j_security_check
并实施对于您的特定服务器,它下面是一个auth管理器,这几乎是默认的&低级别的标准事物......正如您所提到的,您唯一真正的其他选择是安全框架。
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.
这篇关于在java web-app中进行身份验证的任何库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!