[jboss-dev-forums] [JBoss AS 7 Development] - Re: Cookie mismatch

Peter Clarke do-not-reply at jboss.com
Thu Oct 25 17:49:24 EDT 2012


Peter Clarke [https://community.jboss.org/people/peter.clarke] created the discussion

"Re: Cookie mismatch"

To view the discussion, visit: https://community.jboss.org/message/772470#772470

--------------------------------------------------------------
Hopefully you have a solution by now, if not see  https://community.jboss.org/message/761570#761570 https://community.jboss.org/message/761570#761570
I had a similar problem with encrypted credentials passed in a cookie, adding the following system properties to standalone.xml resolved it:
<property name="org.apache.catalina.STRICT_SERVLET_COMPLIANCE" value="false"/> 
 <property name="org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE" value="true"/> 
 <property name="org.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0" value="true"/> 
 <property name="org.apache.tomcat.util.http.ServerCookie.ALWAYS_ADD_EXPIRES" value="false"/> 
 <property name="org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR" value="false"/>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772470#772470]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121025/5a01f714/attachment.html 


More information about the jboss-dev-forums mailing list