Tomcat API session management

An optional valve is provided to avoid API callers to take care of server session.

Webapp settings

The changes to be done are :

<Valve className="com.simplicite.tomcat.valves.APISessionValve"/>

You can customize the default session timeout by adding timeout="<timeout in seconds, defaults to 60>" to the valve declaration.

You can enable the debug traces by adding a debug="<true|false, defaults to false>" to the valve declaration.