Originally Posted by vsch
I have been trying to use slightly cleaner version of above approach, i.e., allowing users to have url like http://server/context/idp1/; and use org.tuckey...UrlRewriteFilter, but could not get it work.
See below config, I tried to put filter-mapping in front or behind springSecurityFilterChain, neither works. Any help would be appreciated.
I also copied urlrewritefilter-4.0.3.jar under <sso>/WEB-INF/lib/, of course.
This rule would take incoming URL /sso/ssocircle and process it as if
/sso?idp=http://idp.ssocircle.com/; users still have clean urls
<to last="true" type="redirect">/?idp=http://idp.ssocircle.com</to>