Show
Ignore:
Timestamp:
04-03-11 12:30:52 (3 years ago)
Author:
s.h.sikkema@…
Message:

Fixed tests (except webtests); cleaned up Example{Studies,Templates}.groovy; decapitalized injected services; made 'transactional' properties static

Files:
1 modified

Legend:

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

    r1430 r1588  
    2828         * Dependency injection for the GSCF authentication service 
    2929         */ 
    30         def AuthenticationService 
     30        def authenticationService 
    3131 
    3232        /** 
     
    7575            // If the user is already authenticated with this session_id, redirect 
    7676            // him 
    77             if( AuthenticationService.isRemotelyLoggedIn( consumer, token ) ) { 
     77            if( authenticationService.isRemotelyLoggedIn( consumer, token ) ) { 
    7878                if( returnUrl ) { 
    7979                                        redirect url: returnUrl 
     
    8585            // If the user is already logged in locally, we log him in and 
    8686            // immediately redirect him 
    87             if (AuthenticationService.isLoggedIn()) { 
    88                                 AuthenticationService.logInRemotely( consumer, token, AuthenticationService.getLoggedInUser() ) 
     87            if (authenticationService.isLoggedIn()) { 
     88                                authenticationService.logInRemotely( consumer, token, authenticationService.getLoggedInUser() ) 
    8989 
    9090                                if( returnUrl ) {