> The JAR containing the compiled class (or classes) needs to be placed in
$CATALINA_BASE/lib

Thanks thi si helpful.

> FC 6265 has been the standard for over a decade now. Which client
requires the (now) invalid domain attribute format?

This is not about client, but our devel environment depends on sharing the 
cookies between subdomains  which unfortunately requires using the dot before 
the main domain in cookies :/

Vojtěch Knyttl

technical lead

kny...@goout.cz

+420 607 008 510

https://goout.net ( https://goout.net/ )

On Tue, Nov 29th, 2022 at 2:39 PM, Mark Thomas <ma...@apache.org> wrote:

> 
> 
> 
> 
> 
> 
> >On 29/11/2022 13:26, Vojtěch Knyttl wrote:
> > Hi,
> >
> > (This is a follow-up question for: 
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=66366
> )
> >
> > Is there a way to implement custom cookie processor in 10.1.?
> 
> Yes. As a minimum, you need to implement
> org.apache.tomcat.util.http.CookieProcessor.
> 
> You have the option of extending CookieProcessorBase (in the same
> package) or you could extend the Rfc6265CookieProcessor.
> 
> The JAR containing the compiled class (or classes) needs to be placed in
> $CATALINA_BASE/lib
> 
> > We are unfortunately still dependant on the dot-domain cookies and this
> blocks us from migrating to current version of Tomcat.
> 
> RFC 6265 has been the standard for over a decade now. Which client
> requires the (now) invalid domain attribute format?
> 
> You should be able to take the code from 9.0.x (
> https://github.com/apache/tomcat/blob/9.0.x/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
> 
> ) and just use that.
> 
> I suggest you place it in your own package.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
> 
> 
>

Reply via email to