Liang Yong Rui avatar Liang Yong Rui committed 36ab992

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

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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.