0

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.

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.

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

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.

Thanks.

1
  • are you looking for a way to have user management system, i.e. add/remove/edit user into your system? that's not possible with security constraints. Commented Sep 26, 2012 at 10:59

2 Answers 2

1

Have you considered reading Securing Web Applications in the Java EE 5 Tutorial? The tutorial bundle contains plenty of examples.

You can download a ZIP file of examples here.

Sign up to request clarification or add additional context in comments.

Comments

1

The Java EE 6 Tutorial, Part VII : Security

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.