File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63867

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!