https://kodejava.org/how-do-i-configure-secure-cookies-using-web-xml/
How do I configure secure cookies using web.xml?