How to get jetty to send jsessionid-cookies with the secure-flag when using a secure channel

后端 未结 2 858
你的背包
你的背包 2021-02-06 12:07

I am using Tomcat in my production environment and jetty in my testing environment (via jetty-maven-plugin).

Tomcat sets the secure-flag on a jsessionid-cookie, when it

2条回答
  •  轮回少年
    2021-02-06 12:53

    I am adding the following just to show the complete example that worked for me.

    Put the following in WEB-INF/jetty-web.xml

    
    
    
    
        
            
                true
            
        
    
    

提交回复
热议问题