Ignore:
Timestamp:
Jun 17, 2011, 10:11:20 AM (11 years ago)
Author:
robert@…
Message:

Users will be logged out from modules when logging out from GSCF now. See ticket #485

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/authentication/LogoutController.groovy

    r1816 r1931  
    1515                        redirect uri: SpringSecurityUtils.securityConfig.logout.filterProcessesUrl // '/j_spring_security_logout'
    1616                }
    17                 // TODO  put any pre-logout code here
     17
     18                // Remove all remote sessions for this user.
     19                def user = authenticationService.getLoggedInUser();
     20                if( user )
     21                        authenticationService.deleteRemoteSessions( user );
    1822               
    1923                // Remove all queries from session
     
    3640                }
    3741               
    38                 println "REDIRECT: " + returnUrl;
    39                 println "parameters: " + params
    40                
    4142                // Try to rest the redirect url
    4243                if( params[ SpringSecurityUtils.securityConfig.successHandler.targetUrlParameter ] ) {
Note: See TracChangeset for help on using the changeset viewer.