my dog learned polymorphism*
The moose likes Servlets and the fly likes About the security and role in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "About the security and role in web.xml" Watch "About the security and role in web.xml" New topic
Author

About the security and role in web.xml

Cainiao Zou
Ranch Hand

Joined: Mar 03, 2009
Posts: 36
That's must be a stupid question...
This is my web.xml



That works perfect, i saw the popup window, but where should I set the passwords and roles?
btw, i use JBoss 5.1AS, WindowsXP

thanks
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
That's specific to the server you're using; check the JBoss documentation.
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

If you are using production server, you can use LDAP or database, where your real user security info is stored. Then you can use it rather then depending on memory realm of the server!


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Amit ChaudhariC
Ranch Hand

Joined: Aug 06, 2009
Posts: 33
As mentioned by Lester, its available in the documentation.
Please check http://community.jboss.org/wiki/SecureAWebApplicationInJBoss.

Regards,
Amit
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: About the security and role in web.xml