简体   繁体   English

Java Web应用程序中是否有用于身份验证的库?

[英]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 therefore less intrusive than the well known frameworks spring-security and apache shiro. 嗨,我正在寻找一个经过验证的Java安全性网络库,它比已知的spring-security和apache shiro框架更底层,因此更具侵入性。

Just something which has best-practive utility-apis for example to encode a remember-me cookie or for dighest authentication, accessing ldap. 只是具有最实用的Utility-api的东西,例如用于编码“记住我”的cookie或用于最简单的身份验证的访问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. 在上述框架中非常有用的所有sutff,但无需遵循框架过滤器和指示应用程序上下文或其他ini文件等。

看一下Apache Shiro项目,它比标准库做的更多,并且非常容易。

好吧,您始终可以使用HttpServletRequest.login()方法或j_security_check并为您的特定服务器在其下实现身份验证管理器,这几乎是默认的和低级标准的东西。 ,安全框架。

如果您不想使用任何一种,请使用Tomcat和Jetty都提供的容器管理的安全性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM