在web.xml中安全约束在Java示例Web应用程序 [英] Sample web application in java with security constraints in web.xml

查看:196
本文介绍了在web.xml中安全约束在Java示例Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找一个有安全约束在web.xml文件来处理身份验证和授权的JAVA样本Web应用程序。基本上,我想看看网络安全如何与安全约束来实现。

I am looking for sample web application in JAVA which has security-constraints in its web.xml file to handle authentication and authorization. Basically I want to see how web security is implemented with security constraints.

我瞪大眼睛一下,大多能找到例子web.xml文件中,显示一个人如何能提供网络安全与安全约束。但我想有可能是在java中它显示这个概念小而全的Web应用程序。

I goggled about it and mostly could find example of web.xml file which shows how can one provide web security with security constraints. but I would like to have may be small but complete web application in java which exhibits this concept.

可能有人请推荐一些源出于此?我是新的Web应用程序开发和Web安全两者。

Could someone please suggest some source for this ? I am new to web application development and web security both.

PL注意,我不希望给任何安全到现有Web应用程序,我需要在Java中有一些认证授权机制的一些示例应用程序。我需要做一些实验,我的研究的一部分。

Pl note that I don't want to give any security to existing web application I need some sample application in java which has some authentication-authorization mechanism. I need it to do some experiments as part of my study.

感谢。

推荐答案

在Java EE 6教程,第七部分:安全

这篇关于在web.xml中安全约束在Java示例Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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