本文介绍了JAAS 人类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难理解 JAAS.这一切似乎比它应该的更复杂(尤其是 Sun 教程).我需要一个简单的教程或示例,说明如何在基于 Struts + Spring + Hibernate 的带有自定义用户存储库的 Java 应用程序中实现安全性(身份验证 + 授权).可以使用 ACEGI 实现.

I am having a hard time understanding JAAS. It all seems more complicated than it should be (especially the Sun tutorials). I need a simple tutorial or example on how to implement security (authentication + authorization) in java application based on Struts + Spring + Hibernate with custom user repository. Can be implemented using ACEGI.

推荐答案

以下是我用来帮助理解 JAAS 的一些链接:

Here are some of the links I used to help understand JAAS:

http://www.owasp.org/index.php/JAAS_Tomcat_Login_Module

http://www.javaworld.com/jw-09-2002/jw-0913-jaas.html

http://jaasbook.wordpress.com/

http://roneiv.wordpress.com/2008/02/18/jaas-authentication-mechanism-is-it-possible-to-force-j_security_check-to-go-到特定页面/

另请参阅 Apache tomcat 领域配置方法:

Also have a look at the Apache tomcat realms configuration how-to:

http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html

这篇关于JAAS 人类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 19:43