阅读背景:

使用基于Spring MVC表单的身份验证时返回url

来源:互联网 

Is it possible in Spring MVC to use return url when configuring form based authentication? For example, user is not authorized and trying to access page /manage, he rederects to login page /account/login?returnurl=%2Fmanage. Then, after he is successfully authorized, he redirects to /manage. As I understand there is no possibility to configure such behaviour in WebSecurityConfigurerAdapter.configure(HttpSecurity http). Any thoughts on how to implement it?Is it possible in Spring MVC to use return url




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: