JAAS为人类服务 [英] JAAS for human beings

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

问题描述

我很难理解JAAS。这一切似乎都应该比它应该更复杂(尤其是Sun教程)。我需要一个简单的教程或示例,介绍如何在Java应用程序中实现基于Struts + Spring + Hibernate和自定义用户存储库的安全性(身份验证+授权)。可以使用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

< a href =http://jaasbook.wordpress.com/ =nofollow noreferrer> http://jaasbook.wordpress.com/

http://roneiv.wordpress.com/2008/02/18/jaas-authentication-mechanism-is-it-possible-to-force-j_security_check-to-go-to- a-specific-page /

另请参阅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为人类服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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