I know we can do something like this:
<session-config>
<cookie-config>
<secure>true</secure>
</cookie-config>
</session-config>
But what I want to achieve is to set this flag (true or false) based on some config.
Should we use a filter and how ?
Thanks