org.springframework.security.web.firewall.RequestWrapper not declared public
Trying to create an filter to handle certain conditions like ExpiredPasswordFilter and since RequestWrapper is not declared public, I'm unable to cast it (because import org.springframework.security.web.firewall.RequestWrapper says the class is not visible)
My current (silly) Workaround is: put ExpiredPasswordFilter in org.springframework.security.web.firewall package
org.springframework.security.web.firewall.RequestWrapper declared public
Configuration
Version
Sample
Comment From: rwinch
It is intentionally encapsulated. You can cast to FirewalledRequest instead.