A
Arvind
Here is where am stuck...
SiteMinder protects all our application.
Siteminder sets request headers for user id.
//applications use the following code snipped to get at user id
//request.getHeader("userid")
When we start development on local workstations...we have had
problems..so i though of writing a dummy servlet that all local
machines could hit first; which would populate the response header
with userid=1234 so that the subsequent hits can make use of
absolutely the same code.
i had the following in my dummy servlet....
resp.setHeader("SM_USER","xxxxxxxx");
resp.addHeader("SM","eeeee");
resp.addIntHeader("abcd",1);
Cookie c = new Cookie("SM","1234444");
resp.addCookie(c);
out of all of the above; when i dump all the request headers....the
only thing request header i get is the cookie - > "Name = cookie and
val=SM=1234444"
help is greatly appreciated !
Arvind
SiteMinder protects all our application.
Siteminder sets request headers for user id.
//applications use the following code snipped to get at user id
//request.getHeader("userid")
When we start development on local workstations...we have had
problems..so i though of writing a dummy servlet that all local
machines could hit first; which would populate the response header
with userid=1234 so that the subsequent hits can make use of
absolutely the same code.
i had the following in my dummy servlet....
resp.setHeader("SM_USER","xxxxxxxx");
resp.addHeader("SM","eeeee");
resp.addIntHeader("abcd",1);
Cookie c = new Cookie("SM","1234444");
resp.addCookie(c);
out of all of the above; when i dump all the request headers....the
only thing request header i get is the cookie - > "Name = cookie and
val=SM=1234444"
help is greatly appreciated !
Arvind