I am using a filter to check the login access to my application. Before It comes to the filter, the user -id is already set in the request header as one of the attributes. But, by the time , it gets to the filter, I lose that header. The reason why I say that I am losing the header name is this: I took the logic and put that in my action class and print out the header and it totally works. Should it be the same request that gets passed either way? I would really appreciate somebody's help.
Thanks Bill for replying during the weekend. There is first an application url that the users go to and this goes through our LDAP server where the user-id is verified and we have a request header called "user" set there. So, what essentially we are trying to do in our filter is to check for the presence of that request header, "user". For some reason, when we print out all the request header name and value, that "user" request header is not among them. But I know for sure that the request header , "user" is set because I took the same code that I wrote in filter and put it in the struts action class and print out all the names and values, it is present. So, I don't understand why the filter and the action class are getting totally two different request objects. I have only one filter that checks for that "user" request header. Please let me know if I can provide any more details. I really appreciate your help.