简体   繁体   English

注销后使用Spring Security将用户重定向到自定义页面?

[英]Redirect user after a logout to a custom page using Spring Security?

i was wondering if there is an easy way of redirecting the user to a custom page after a succesfull logout? 我想知道是否有一种简单的方法,可以在成功注销后将用户重定向到自定义页面? The logout work ok, but i want to redirect the user to a custom page. 退出工作正常,但我想将用户重定向到自定义页面。 I am using Grails 1.3.7 and Spring Security Core. 我正在使用Grails 1.3.7和Spring Security Core。

这里

logout.afterLogoutUrl   URL for redirect after logout.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM