Vaadin 6 Internet Explorer and P3P implementation

Hi,

I am trying to get around IE and P3P problem.
I have an iframe embedded and it’s using external URL to get the content.
All working nicely in FF and Chrome but using IE I cant get it working due to P3P
policy (iframe tries to save cookies which is blocked by IE).

Two solutions:

  1. Add external URL which is being used by iframe to trusted sites in IE - ugly
  2. Add support for P3P.

I have just tested P3P mocking up a simple spring app and after configuring the policy
all I have to do now is this:

response.addHeader(“P3P”, “policyref="http://xxx.yyy.xxx.yyy/data/w3c/p3p.xml\”, CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"");

and all works beautifly however I cant get it working with vaadin 6.

This is what I have tried so far:

protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

response.addHeader(“P3P”, “policyref="http://xxx.yyy.xxx.yyy/data/w3c/p3p.xml\”, CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"");

}

and

protected void doOnRequestStart(HttpServletRequest request, HttpServletResponse response) {
response.addHeader(“P3P”, “policyref="http://xxx.yyy.xxx.yyy/data/w3c/p3p.xml\”, CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"");
}

but that does not work …

Any ideas how to approach this problem ?

Thanks,
Adrian