2

I have an JBoss AS7.1 web application. I want to make it more secure, so i added some attributes to my web.xml.

<session-config>
    <session-timeout>120</session-timeout>
    <cookie-config>
        <domain>example.com</domain>
        <http-only>true</http-only>
        <secure>true</secure>
    </cookie-config>
</session-config>

This ended up with:enter image description here

Now i want to check the "SameSite" attribute. I tried to create a servlet filter, where i set the header of my "Set-Cookie" attribute, as described under How to set SameSite attribute? but it did not work.

Anybody knows, how to add the "SameSite" attribute to an JSF web application running on JBoss AS7.1?

Kukeltje
  • 12,085
  • 4
  • 21
  • 46
Anton Styopin
  • 693
  • 3
  • 14
  • 33

0 Answers0