Ignore:
Timestamp:
Mar 4, 2011, 12:30:52 PM (12 years ago)
Author:
s.h.sikkema@…
Message:

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

File:
1 edited

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 ) {
Note: See TracChangeset for help on using the changeset viewer.