aspose file tools
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 The Software Craftsman this week in the Agile 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

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

Lester Burnham

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

Don't get me started about those stupid light bulbs.
subject: About the security and role in web.xml