Changeset 1588 for trunk/grails-app/services/dbnp
- Timestamp:
- Mar 4, 2011, 12:30:52 PM (11 years ago)
- Location:
- trunk/grails-app/services/dbnp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/authentication/AuthenticationService.groovy
r1577 r1588 18 18 19 19 class AuthenticationService { 20 def SpringSecurityService20 def springSecurityService 21 21 static final int expiryTime = 60; // Number of minutes a remotely logged in user remains active 22 22 23 booleantransactional = true23 static transactional = true 24 24 25 25 public boolean isLoggedIn() { 26 return SpringSecurityService.isLoggedIn();26 return springSecurityService.isLoggedIn(); 27 27 } 28 28 29 29 public SecUser getLoggedInUser() { 30 def principal = SpringSecurityService.getPrincipal()30 def principal = springSecurityService.getPrincipal() 31 31 32 32 // If the user is logged in, the principal should be a GrailsUser object. -
trunk/grails-app/services/dbnp/importer/ImporterService.groovy
r1553 r1588 22 22 def authenticationService 23 23 24 booleantransactional = true24 static transactional = true 25 25 26 26 /** -
trunk/grails-app/services/dbnp/modules/ModuleNotificationService.groovy
r1581 r1588 19 19 20 20 class ModuleNotificationService implements Serializable { 21 booleantransactional = false21 static transactional = false 22 22 23 23 /**
Note: See TracChangeset
for help on using the changeset viewer.