tag:blogger.com,1999:blog-6967547786615923442.post3802638396446051296..comments2023-09-03T07:34:06.394-07:00Comments on You're IT: Spring Security: Log In via AJAXUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6967547786615923442.post-34742994841383173522017-06-13T05:03:01.476-07:002017-06-13T05:03:01.476-07:00
very useful thank you<br />very useful thank youAnonymoushttps://www.blogger.com/profile/03223252344184434101noreply@blogger.comtag:blogger.com,1999:blog-6967547786615923442.post-63424876702222926932016-12-11T20:45:11.704-08:002016-12-11T20:45:11.704-08:00very useful ,thx so much~very useful ,thx so much~Aaronhttps://www.blogger.com/profile/00611859070981966018noreply@blogger.comtag:blogger.com,1999:blog-6967547786615923442.post-87994364975163840862014-06-29T23:35:26.065-07:002014-06-29T23:35:26.065-07:00For people wanting to get a redirect back to the r...For people wanting to get a redirect back to the restricted page the user was trying to access, you will have to instead implement SavedRequestAwareAuthenticationSuccessHandler. You can then write 'request.getSession().getAttribute("SPRING_SECURITY_SAVED_REQUEST")' to get lots of data you need. The attribute name may change with the version of spring security you have.Anonymoushttps://www.blogger.com/profile/14028995689488674408noreply@blogger.com