/grails-app/controllers/LogoutController.groovy
http://github.com/jdmr/mateo · Groovy · 12 lines · 6 code · 2 blank · 4 comment · 0 complexity · 437e62d4517292d3d47eba4ab2dc8f6d MD5 · raw file
- import org.codehaus.groovy.grails.plugins.springsecurity.SpringSecurityUtils
-
- class LogoutController {
-
- /**
- * Index action. Redirects to the Spring security logout uri.
- */
- def index = {
- // TODO put any pre-logout code here
- redirect uri: SpringSecurityUtils.securityConfig.logout.filterProcessesUrl // '/j_spring_security_logout'
- }
- }