source: trunk/grails-app/controllers/dbnp/authentication/LogoutController.groovy @ 976

Last change on this file since 976 was 976, checked in by robert@…, 12 years ago

Authentication and authorization for studies is added, according to ticket 118

File size: 388 bytes
Line 
1package dbnp.authentication
2
3import org.codehaus.groovy.grails.plugins.springsecurity.SpringSecurityUtils
4
5class LogoutController {
6
7        /**
8         * Index action. Redirects to the Spring security logout uri.
9         */
10        def index = {
11                // TODO  put any pre-logout code here
12                redirect uri: SpringSecurityUtils.securityConfig.logout.filterProcessesUrl // '/j_spring_security_logout'
13        }
14}
Note: See TracBrowser for help on using the repository browser.