tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Boorshtein <mboorsht...@gmail.com>
Subject Re: Request headers created in valve don't make it to application
Date Wed, 01 Jun 2011 15:16:40 GMT
>
> Can you try this:
>
>    request.addHeader(attrib.getName(), val);
>
>    logger.info("After added header: "
>              + attrib.getName() + "="
>              + request.getHeader(attrib.getName()));
>
> I wonder if the header value is being ignored because the request is
> frozen or something like that.
>
> - -chris

[2011-06-01 11:14:03,074][http-8080-1] INFO  AutoIDMFilter - true
[2011-06-01 11:14:03,074][http-8080-1] INFO  AutoIDMFilter - creating header
[2011-06-01 11:14:03,074][http-8080-1] INFO  AutoIDMFilter -
from-assertion-uid=testStaticGroupSucceed
[2011-06-01 11:14:03,074][http-8080-1] INFO  AutoIDMFilter - After
added header: from-assertion-uid=null
[2011-06-01 11:14:03,075][http-8080-1] INFO  AutoIDMFilter - creating header
[2011-06-01 11:14:03,075][http-8080-1] INFO  AutoIDMFilter -
from-assertion-sn=User
[2011-06-01 11:14:03,076][http-8080-1] INFO  AutoIDMFilter - After
added header: from-assertion-sn=null
[2011-06-01 11:14:03,076][http-8080-1] INFO  AutoIDMFilter - creating header
[2011-06-01 11:14:03,076][http-8080-1] INFO  AutoIDMFilter -
from-assertion-cn=Test User
[2011-06-01 11:14:03,076][http-8080-1] INFO  AutoIDMFilter - After
added header: from-assertion-cn=null

So for some reason the addHeader is not doing anything

Thanks
Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message