My entire application runs on ssl (https). We are using tomcat7 as container. Now in context.xml I have added below configuration and I am expecting after successful login, JSESSIONID will be changed -
Valve className="org.apache.catalina.authenticator.BasicAuthenticator" changeSessionIdOnAuthentication="true" />
But unfortunately jsessionid is not getting changed. After studying couple of articles, I came to know that, jsessionid only gets changed only if we are switching from http to https. So, I believe as my application runs on https, jsessionid is not getting changed. Am I correct?
So, what I want is, jsessionid should be modified after successful authention is done and using some kind of configuration. I can invalidate the session and create new session after authention is done. But I prefer to do it using configuration, if possible.
Thanks, Kartic