Ignore:
Timestamp:
Mar 4, 2011, 12:30:52 PM (10 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/services/dbnp/authentication/AuthenticationService.groovy

    r1577 r1588  
    1818
    1919class AuthenticationService {
    20     def SpringSecurityService
     20    def springSecurityService
    2121    static final int expiryTime = 60; // Number of minutes a remotely logged in user remains active
    2222
    23     boolean transactional = true
     23    static transactional = true
    2424
    2525    public boolean isLoggedIn() {
    26         return SpringSecurityService.isLoggedIn();
     26        return springSecurityService.isLoggedIn();
    2727    }
    2828
    2929    public SecUser getLoggedInUser() {
    30       def principal = SpringSecurityService.getPrincipal()
     30      def principal = springSecurityService.getPrincipal()
    3131
    3232      // If the user is logged in, the principal should be a GrailsUser object.
Note: See TracChangeset for help on using the changeset viewer.