Commits

Liang Yong Rui committed 36ab992

修复打包的bug,让测试用的controller和view不包含在包内

  • Participants
  • Parent commits d614f3a

Comments (0)

Files changed (2)

SpringSecurityTaobaoGrailsPlugin.groovy

     // resources that are excluded from plugin packaging
     List pluginExcludes = [
         'grails-app/domain/**',
-        'grails-app/controller/**',
+        'grails-app/controllers/**',
+        'grails-app/views/**',
         'docs/**',
         'src/docs/**'
     ]

src/groovy/com/mingidea/security/taobao/TaobaoAuthenticationUserDetailsService.groovy

             }
             
 
-
+            
             def usernamePropertyName = conf.userLookup.usernamePropertyName
             Collection<GrantedAuthority> authorities = loadAuthorities(user, user."$usernamePropertyName", true)
             return createUserDetails(user, authorities)