Tomcat user session manager

Where can I find documentation on creating a custom session manager for Tomcat?

For instance:

How to configure session manager in tomcats server.xml?
What interface should be implemented to use my session manager?

Thanks,
..Chris

+4
source share
1 answer

Q: How to configure session manager in tomcats server.xml?
A: <Manager... goes inside <Context... From Tomcat docs:

The Manager element MAY be nested inside the Context component. If this is not enabled, a default manager configuration will be created automatically, which is sufficient for most requirements, see the Standard Manager implementation below for details on this configuration.

Q: What interface should be implemented to use my session manager?
A: org.apache.catalina.Manager

+6
source

Source: https://habr.com/ru/post/1388657/


All Articles