Best .net training institute in delhi...
skybrijeshWed Dec 26, 2012 09:23 PM
To password protect your pages you can use
a realm, please referer at the documentation
on tomcat project site for detailed info, also on web
there are many how-to, read them.
However to give you a point of start..
Once you've defined a realm resource(as the tomcat-users.xml or a your own
jdbc realm) in server.xml,
you have to modify the web.xml file of your application
here's a sample for adding basic realm support (Form authentication is quite similar, look at docs)
Link to the UserDatabase instance from which we request lists of defined role names.
Your Realm Name
The role that is required to log in to the Manager Application
Please, keep in mind that attributes definition order in web.xml
All attributes are optional but defining in the wrong place may prevent
your application to act as you want.
Hope this helps.
Sky InfoTech Is a premier company engaged in IT Services Training, Training .Net
Training, software development Consultancy, Recruitment. & Man power Outsourcing.
We are provides an extensive training in Dot NET Technology and Job Assistance
of placement for its students. Sky provides training in DOT NET (C#, ADO.Net,
VB.Net, ASP.Net, XML,CRYSTAL REPORT) by Experienced Faculty. This training is also supported with the help of live projects in DOT NET which provides industrial exposure to the candidates & helps the Candidate to finding a suitable job in DOT NET Technology .We Provides training in Dot Net Technology by Experienced Industry Professionals. We have a dedicated placement cell which provides placement assistance in DOT NET to all the candidates.
Thanks & Regards,
Ph. 0120 – 4242223/ 24
Noida: 9717292598/ 9717292599
Report | Quote This | Reply | Print