- All Implemented Interfaces:
- javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.web.context.ServletContextAware
@Component(value="blSessionFixationProtectionFilter")
public class SessionFixationProtectionFilter
extends org.springframework.web.filter.GenericFilterBean
Filter used to protected against session fixation attacks while still keeping the same session id on both
http and https protocols. Uses a secondary, https cookie that must be present on every https request for a
given session after the first request. If it's not present and equal to what we expect, we will redirect the
user to "/" and remove his session cookie.
- Author:
- Andre Azzolini (apazzolini)