moresandeep opened a new pull request, #972: URL: https://github.com/apache/knox/pull/972
## What changes were proposed in this pull request? This PR introduces a new parameter `pac4j.cookie.max.age` for the Pac4J provider that enforces cookie age on the cookies created by the pac4j provider. e.g. ``` <provider> <role>federation</role> <name>pac4j</name> <enabled>true</enabled> <param> <name>pac4j.callbackUrl</name> <value>https://www.local.com:8443/gateway/knoxsso/api/v1/websso</value> </param> <!-- Unit is seconds --> <param> <name>pac4j.cookie.max.age</name> <value>180</value> </param> ......... ``` Note that these value needs to be same as `knoxsso.cookie.max.age` if you want Knox session to expire at the same time. ## How was this patch tested? This patch was tested locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org