在java web-app中进行身份验证的任何库? [英] Any library for authentication in a java web-app?

查看:136
本文介绍了在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆