This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to authenticate all the URL's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

How to authenticate all the URL's

Ankur Srivastav
Ranch Hand

Joined: Aug 31, 2009
Posts: 57

I have the following web.xml



<!-- <http-method>GET</http-method> -->


What I am trying to achieve is: For any request to this App like http://localhost:8083/servletbookapp/ the user should get authenticated. But that is not happening unless I specify some specific pattern like

Kindly suggest if I should make any changes ...

Sun Certified Java Programmer v 1.4
Oracle Certified Associate, Java SE 7 Programmer
JEE 5 Web Component Developer Certified Professional
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63542

Please do not post the same question more than once. Continue any discussion in your original post.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to authenticate all the URL's
It's not a secret anymore!