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>
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?