简体   繁体   English

Java EE 7 Web应用程序的简单身份验证

[英]Simple authentication for java ee 7 web app

I am developing a JavaEE7(Postgres, Glassfish, Primefaces) web app for which I need a simple identity management and authentication. 我正在开发JavaEE7(Postgres,Glassfish,Primefaces)Web应用程序,为此我需要简单的身份管理和身份验证。 Something simple like identity management from seam2(seam-gen). 简单的东西,例如来自seam2(seam-gen)的身份管理。 I only need User, Group, Role and "Remember Me". 我只需要用户,组,角色和“记住我”。 An administrator should be able to create users ... from the app. 管理员应该能够从应用程序中创建用户。 User is also required for createdBy and updatedBy fields. 还需要用户创建createdBy和updatedBy字段。

I checked Picketlink but I found it a bit overkill for what I need. 我检查了Picketlink,但发现它对我需要的东西有点矫kill过正。 I also checked Apache Shiro, but I am not sure if it's appropriate for managing users, roles and group directly from the app. 我还检查了Apache Shiro,但不确定是否适合直接从应用程序管理用户,角色和组。

Any suggestion for a solution or a framework is Welcome 欢迎提供解决方案或框架的任何建议

Thanks 谢谢

I evaluated picketlink and apache shiro. 我评估了picketlink和apache shiro。 Picketlink is heavy for the application type I am developing. Picketlink非常适合我正在开发的应用程序类型。 I finally used apache shiro. 我终于用了apache shiro。 The tutorial from BalusC was very helpful. BalusC的教程非常有帮助。 Apache Shiro, is it ready for Java EE 6? Apache Shiro,是否已经为Java EE 6准备好了? (a JSF2-Shiro Tutorial) (JSF2-Shiro教程)

and

Securing Your ADF Applications Using Apache Shiro 使用Apache Shiro保护ADF应用程序的安全

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

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