Changeset 1120

Show
Ignore:
Timestamp:
11-11-10 13:58:57 (3 years ago)
Author:
work@…
Message:

- fixing springSecurityService issue in static methods

Location:
trunk/grails-app/conf
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrapAuthentication.groovy

    r1118 r1120  
    1616         * @void 
    1717         */ 
    18         public static void initDefaultAuthentication() { 
     18        public static void initDefaultAuthentication(springSecurityService) { 
    1919                "setting up default authentication".grom() 
    2020 
  • trunk/grails-app/conf/BootStrap.groovy

    r1118 r1120  
    3232 
    3333                // set up authentication (if required) 
    34                 if (!SecRole.count() || !SecUser.count()) BootStrapAuthentication.initDefaultAuthentication() 
     34                if (!SecRole.count() || !SecUser.count()) BootStrapAuthentication.initDefaultAuthentication(springSecurityService) 
    3535 
    3636                // developmental bootstrapping: