Permalink
Browse files

upgraded to grails 3... todays rebase

  • Loading branch information...
Omasiri committed Jun 4, 2015
1 parent 5a2234c commit 5212bc02c71fcfd602b4e9bd02476eb5aa68112d
Showing with 2,558 additions and 2,636 deletions.
  1. +0 −1,206 SpringSecurityCoreGrailsPlugin.groovy
  2. +0 −2 application.properties
  3. +147 −0 build.gradle
  4. +2 −0 gradle.properties
  5. +164 −0 gradlew
  6. +90 −0 gradlew.bat
  7. +0 −57 grails-app/conf/BuildConfig.groovy
  8. +0 −6 grails-app/conf/Config.groovy
  9. +0 −17 grails-app/conf/DataSource.groovy
  10. +113 −0 grails-app/conf/application.yml
  11. +28 −0 grails-app/conf/logback.groovy
  12. +11 −0 grails-app/init/spring/security/core/Application.groovy
  13. +0 −363 grailsw
  14. +0 −186 grailsw.bat
  15. 0 { → src/functional-test}/functional-test-app/.classpath
  16. 0 { → src/functional-test}/functional-test-app/.gitignore
  17. 0 { → src/functional-test}/functional-test-app/.project
  18. 0 { → src/functional-test}/functional-test-app/README.md
  19. 0 { → src/functional-test}/functional-test-app/application.properties
  20. 0 { → src/functional-test}/functional-test-app/grails-app/conf/BootStrap.groovy
  21. 0 { → src/functional-test}/functional-test-app/grails-app/conf/BuildConfig.groovy
  22. 0 { → src/functional-test}/functional-test-app/grails-app/conf/Config.groovy
  23. 0 { → src/functional-test}/functional-test-app/grails-app/conf/DataSource.groovy
  24. 0 { → src/functional-test}/functional-test-app/grails-app/conf/UrlMappings.groovy
  25. 0 { → src/functional-test}/functional-test-app/grails-app/conf/spring/resources.groovy
  26. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/FooBarController.groovy
  27. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/HackController.groovy
  28. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/LogoutController.groovy
  29. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/SecureAnnotatedController.groovy
  30. 0 ...functional-test}/functional-test-app/grails-app/controllers/SecureClassAnnotatedController.groovy
  31. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/SecureController.groovy
  32. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/TagLibTestController.groovy
  33. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/TestDataController.groovy
  34. 0 ...onal-test}/functional-test-app/grails-app/controllers/com/testapp/TestRequestmapController.groovy
  35. 0 ...functional-test}/functional-test-app/grails-app/controllers/com/testapp/TestRoleController.groovy
  36. 0 ...functional-test}/functional-test-app/grails-app/controllers/com/testapp/TestUserController.groovy
  37. 0 ...src/functional-test}/functional-test-app/grails-app/controllers/inheritance/BaseController.groovy
  38. 0 ...functional-test}/functional-test-app/grails-app/controllers/inheritance/ExtendedController.groovy
  39. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/rest/BookController.groovy
  40. 0 { → src/functional-test}/functional-test-app/grails-app/controllers/rest/MovieController.groovy
  41. 0 { → src/functional-test}/functional-test-app/grails-app/domain/com/testapp/TestRequestmap.groovy
  42. 0 { → src/functional-test}/functional-test-app/grails-app/domain/com/testapp/TestRole.groovy
  43. 0 { → src/functional-test}/functional-test-app/grails-app/domain/com/testapp/TestUser.groovy
  44. 0 { → src/functional-test}/functional-test-app/grails-app/domain/com/testapp/TestUserTestRole.groovy
  45. 0 { → src/functional-test}/functional-test-app/grails-app/domain/rest/Book.groovy
  46. 0 { → src/functional-test}/functional-test-app/grails-app/domain/rest/Movie.groovy
  47. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages.properties
  48. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_cs_CZ.properties
  49. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_da.properties
  50. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_de.properties
  51. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_es.properties
  52. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_fr.properties
  53. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_it.properties
  54. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_ja.properties
  55. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_nb.properties
  56. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_nl.properties
  57. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_pl.properties
  58. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_pt_BR.properties
  59. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_pt_PT.properties
  60. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_ru.properties
  61. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_sv.properties
  62. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_th.properties
  63. 0 { → src/functional-test}/functional-test-app/grails-app/i18n/messages_zh_CN.properties
  64. 0 { → src/functional-test}/functional-test-app/grails-app/services/TestDataService.groovy
  65. 0 { → src/functional-test}/functional-test-app/grails-app/views/error.gsp
  66. 0 { → src/functional-test}/functional-test-app/grails-app/views/error401.gsp
  67. 0 { → src/functional-test}/functional-test-app/grails-app/views/error403.gsp
  68. 0 { → src/functional-test}/functional-test-app/grails-app/views/index.gsp
  69. 0 { → src/functional-test}/functional-test-app/grails-app/views/layouts/application.gsp
  70. 0 { → src/functional-test}/functional-test-app/grails-app/views/logout/index.gsp
  71. 0 { → src/functional-test}/functional-test-app/grails-app/views/tagLibTest/test.gsp
  72. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRequestmap/_form.gsp
  73. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRequestmap/create.gsp
  74. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRequestmap/edit.gsp
  75. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRequestmap/index.gsp
  76. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRequestmap/list.gsp
  77. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRequestmap/show.gsp
  78. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRole/_form.gsp
  79. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRole/create.gsp
  80. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRole/edit.gsp
  81. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRole/index.gsp
  82. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRole/list.gsp
  83. 0 { → src/functional-test}/functional-test-app/grails-app/views/testRole/show.gsp
  84. 0 { → src/functional-test}/functional-test-app/grails-app/views/testUser/create.gsp
  85. 0 { → src/functional-test}/functional-test-app/grails-app/views/testUser/edit.gsp
  86. 0 { → src/functional-test}/functional-test-app/grails-app/views/testUser/list.gsp
  87. 0 { → src/functional-test}/functional-test-app/grails-app/views/testUser/show.gsp
  88. 0 { → src/functional-test}/functional-test-app/run_functional_tests.sh
  89. 0 { → src/functional-test}/functional-test-app/test/functional/AbstractSecuritySpec.groovy
  90. 0 { → src/functional-test}/functional-test-app/test/functional/AnnotationSecuritySpec.groovy
  91. 0 { → src/functional-test}/functional-test-app/test/functional/BCryptSpec.groovy
  92. 0 { → src/functional-test}/functional-test-app/test/functional/BasicAuthSecuritySpec.groovy
  93. 0 { → src/functional-test}/functional-test-app/test/functional/DisableSpec.groovy
  94. 0 { → src/functional-test}/functional-test-app/test/functional/GebConfig.groovy
  95. 0 { → src/functional-test}/functional-test-app/test/functional/InheritanceSecuritySpec.groovy
  96. 0 { → src/functional-test}/functional-test-app/test/functional/MiscSpec.groovy
  97. 0 { → src/functional-test}/functional-test-app/test/functional/NamespaceSecuritySpec.groovy
  98. 0 { → src/functional-test}/functional-test-app/test/functional/RequestmapSecuritySpec.groovy
  99. 0 { → src/functional-test}/functional-test-app/test/functional/RequestmapSpec.groovy
  100. 0 { → src/functional-test}/functional-test-app/test/functional/RoleSpec.groovy
  101. 0 { → src/functional-test}/functional-test-app/test/functional/StaticSecuritySpec.groovy
  102. 0 { → src/functional-test}/functional-test-app/test/functional/UserSpec.groovy
  103. 0 { → src/functional-test}/functional-test-app/test/functional/pages/CreatePage.groovy
  104. 0 { → src/functional-test}/functional-test-app/test/functional/pages/EditPage.groovy
  105. 0 { → src/functional-test}/functional-test-app/test/functional/pages/IndexPage.groovy
  106. 0 { → src/functional-test}/functional-test-app/test/functional/pages/LoginPage.groovy
  107. 0 { → src/functional-test}/functional-test-app/test/functional/pages/LogoutPage.groovy
  108. 0 { → src/functional-test}/functional-test-app/test/functional/pages/ScaffoldPage.groovy
  109. 0 { → src/functional-test}/functional-test-app/test/functional/pages/ShowPage.groovy
  110. 0 ...functional-test}/functional-test-app/test/functional/pages/requestmap/CreateRequestmapPage.groovy
  111. 0 ...c/functional-test}/functional-test-app/test/functional/pages/requestmap/EditRequestmapPage.groovy
  112. 0 ...c/functional-test}/functional-test-app/test/functional/pages/requestmap/ListRequestmapPage.groovy
  113. 0 ...c/functional-test}/functional-test-app/test/functional/pages/requestmap/ShowRequestmapPage.groovy
  114. 0 { → src/functional-test}/functional-test-app/test/functional/pages/role/CreateRolePage.groovy
  115. 0 { → src/functional-test}/functional-test-app/test/functional/pages/role/EditRolePage.groovy
  116. 0 { → src/functional-test}/functional-test-app/test/functional/pages/role/ListRolePage.groovy
  117. 0 { → src/functional-test}/functional-test-app/test/functional/pages/role/ShowRolePage.groovy
  118. 0 { → src/functional-test}/functional-test-app/test/functional/pages/user/CreateUserPage.groovy
  119. 0 { → src/functional-test}/functional-test-app/test/functional/pages/user/EditUserPage.groovy
  120. 0 { → src/functional-test}/functional-test-app/test/functional/pages/user/ListUserPage.groovy
  121. 0 { → src/functional-test}/functional-test-app/test/functional/pages/user/ShowUserPage.groovy
  122. 0 { → src/functional-test}/functional-test-app/upgrade_app.sh
  123. +1 −1 { → src/functional-test}/functional-test-app/web-app/WEB-INF/applicationContext.xml
  124. 0 { → src/functional-test}/functional-test-app/web-app/WEB-INF/sitemesh.xml
  125. 0 { → src/functional-test}/functional-test-app/web-app/WEB-INF/tld/c.tld
  126. 0 { → src/functional-test}/functional-test-app/web-app/WEB-INF/tld/fmt.tld
  127. 0 { → src/functional-test}/functional-test-app/web-app/WEB-INF/tld/grails.tld
  128. 0 { → src/functional-test}/functional-test-app/web-app/WEB-INF/tld/spring-form.tld
  129. 0 { → src/functional-test}/functional-test-app/web-app/WEB-INF/tld/spring.tld
  130. 0 { → src/functional-test}/functional-test-app/web-app/css/errors.css
  131. 0 { → src/functional-test}/functional-test-app/web-app/css/main.css
  132. 0 { → src/functional-test}/functional-test-app/web-app/css/mobile.css
  133. BIN { → src/functional-test}/functional-test-app/web-app/images/apple-touch-icon-retina.png
  134. BIN { → src/functional-test}/functional-test-app/web-app/images/apple-touch-icon.png
  135. BIN { → src/functional-test}/functional-test-app/web-app/images/favicon.ico
  136. BIN { → src/functional-test}/functional-test-app/web-app/images/grails_logo.png
  137. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/database_add.png
  138. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/database_delete.png
  139. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/database_edit.png
  140. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/database_save.png
  141. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/database_table.png
  142. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/exclamation.png
  143. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/house.png
  144. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/information.png
  145. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/shadow.jpg
  146. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/sorted_asc.gif
  147. BIN { → src/functional-test}/functional-test-app/web-app/images/skin/sorted_desc.gif
  148. BIN { → src/functional-test}/functional-test-app/web-app/images/spinner.gif
  149. 0 { → src/functional-test}/functional-test-app/web-app/js/admin/admin.js
  150. 0 { → src/functional-test}/functional-test-app/web-app/js/application.js
  151. +0 −230 src/groovy/grails/plugin/springsecurity/ReflectionUtils.groovy
  152. 0 { → src/integration-test}/integration-test-app/.classpath
  153. 0 { → src/integration-test}/integration-test-app/.gitignore
  154. 0 { → src/integration-test}/integration-test-app/.project
  155. 0 { → src/integration-test}/integration-test-app/application.properties
  156. 0 { → src/integration-test}/integration-test-app/grails-app/conf/BootStrap.groovy
  157. 0 { → src/integration-test}/integration-test-app/grails-app/conf/BuildConfig.groovy
  158. 0 { → src/integration-test}/integration-test-app/grails-app/conf/Config.groovy
  159. 0 { → src/integration-test}/integration-test-app/grails-app/conf/DataSource.groovy
  160. 0 { → src/integration-test}/integration-test-app/grails-app/conf/UrlMappings.groovy
  161. 0 { → src/integration-test}/integration-test-app/grails-app/conf/spring/resources.groovy
  162. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestPersistentLogin.groovy
  163. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestRequestmap.groovy
  164. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestRole.groovy
  165. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestRoleGroup.groovy
  166. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestRoleGroupRoles.groovy
  167. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestUser.groovy
  168. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestUserRole.groovy
  169. 0 { → src/integration-test}/integration-test-app/grails-app/domain/test/TestUserRoleGroup.groovy
  170. 0 { → src/integration-test}/integration-test-app/run_integration_tests.sh
  171. 0 { → src/integration-test}/integration-test-app/src/groovy/com/test/AdditionalLogoutHandler.groovy
  172. 0 ...t-app/test/integration/grails/plugin/springsecurity/AdditionalLogoutFiltersConfiguredTests.groovy
  173. 0 ...tion-test-app/test/integration/grails/plugin/springsecurity/DigestAuthPasswordEncoderTests.groovy
  174. 0 ...-test-app/test/integration/grails/plugin/springsecurity/GormPersistentTokenRepositoryTests.groovy
  175. 0 ...gration-test-app/test/integration/grails/plugin/springsecurity/GormUserDetailsServiceTests.groovy
  176. 0 ...ion-test-app/test/integration/grails/plugin/springsecurity/ReflectionUtilsIntegrationTests.groovy
  177. 0 ...on-test}/integration-test-app/test/integration/grails/plugin/springsecurity/RoleGroupTests.groovy
  178. 0 ...st}/integration-test-app/test/integration/grails/plugin/springsecurity/SecurityTagLibTests.groovy
  179. 0 ...st-app/test/integration/grails/plugin/springsecurity/SpringSecurityServiceIntegrationTests.groovy
  180. 0 ...test-app/test/integration/grails/plugin/springsecurity/SpringSecurityUtilsIntegrationTests.groovy
  181. +1 −1 { → src/integration-test}/integration-test-app/web-app/WEB-INF/applicationContext.xml
  182. 0 { → src/integration-test}/integration-test-app/web-app/WEB-INF/sitemesh.xml
  183. 0 { → src/integration-test}/integration-test-app/web-app/WEB-INF/tld/c.tld
  184. 0 { → src/integration-test}/integration-test-app/web-app/WEB-INF/tld/fmt.tld
  185. 0 { → src/integration-test}/integration-test-app/web-app/WEB-INF/tld/grails.tld
  186. 0 { → src/integration-test}/integration-test-app/web-app/WEB-INF/tld/spring-form.tld
  187. 0 { → src/integration-test}/integration-test-app/web-app/WEB-INF/tld/spring.tld
  188. +0 −540 src/java/grails/plugin/springsecurity/web/access/intercept/AnnotationFilterInvocationDefinition.java
  189. +1,211 −0 src/main/groovy/SpringSecurityCoreGrailsPlugin.groovy
  190. 0 src/{java → main/groovy}/grails/plugin/springsecurity/CryptoEncoderWrapper.java
  191. 0 src/{ → main}/groovy/grails/plugin/springsecurity/InterceptedUrl.groovy
  192. +230 −0 src/main/groovy/grails/plugin/springsecurity/ReflectionUtils.groovy
  193. 0 src/{java → main/groovy}/grails/plugin/springsecurity/SecurityConfigType.java
  194. 0 src/{java → main/groovy}/grails/plugin/springsecurity/SecurityEventListener.java
  195. 0 src/{java → main/groovy}/grails/plugin/springsecurity/SecurityFilterPosition.java
  196. +1 −1 src/{java → main/groovy}/grails/plugin/springsecurity/SpringSecurityUtils.java
  197. 0 src/{java → main/groovy}/grails/plugin/springsecurity/access/NullAfterInvocationProvider.java
  198. 0 ...java → main/groovy}/grails/plugin/springsecurity/access/intercept/NullAfterInvocationManager.java
  199. 0 ...→ main/groovy}/grails/plugin/springsecurity/access/vote/AuthenticatedVetoableDecisionManager.java
  200. 0 src/{java → main/groovy}/grails/plugin/springsecurity/access/vote/ClosureConfigAttribute.java
  201. 0 src/{java → main/groovy}/grails/plugin/springsecurity/access/vote/ClosureVoter.java
  202. 0 src/{java → main/groovy}/grails/plugin/springsecurity/annotation/Authorities.java
  203. 0 src/{java → main/groovy}/grails/plugin/springsecurity/annotation/AuthoritiesTransformation.java
  204. 0 src/{ → main}/groovy/grails/plugin/springsecurity/annotation/Secured.groovy
  205. +3 −3 src/{java → main/groovy}/grails/plugin/springsecurity/annotation/SecuredClosureDelegate.java
  206. 0 ...in/groovy}/grails/plugin/springsecurity/authentication/GrailsAnonymousAuthenticationProvider.java
  207. 0 ... main/groovy}/grails/plugin/springsecurity/authentication/GrailsAnonymousAuthenticationToken.java
  208. 0 ... → main/groovy}/grails/plugin/springsecurity/authentication/NullAuthenticationEventPublisher.java
  209. 0 src/{java → main/groovy}/grails/plugin/springsecurity/authentication/dao/NullSaltSource.java
  210. 0 ...va → main/groovy}/grails/plugin/springsecurity/authentication/encoding/BCryptPasswordEncoder.java
  211. 0 ... main/groovy}/grails/plugin/springsecurity/authentication/encoding/DigestAuthPasswordEncoder.java
  212. 0 ...va → main/groovy}/grails/plugin/springsecurity/authentication/encoding/PBKDF2PasswordEncoder.java
  213. 0 ...java → main/groovy}/grails/plugin/springsecurity/userdetails/DefaultPostAuthenticationChecks.java
  214. 0 ...{java → main/groovy}/grails/plugin/springsecurity/userdetails/DefaultPreAuthenticationChecks.java
  215. +1 −1 src/{ → main}/groovy/grails/plugin/springsecurity/userdetails/GormUserDetailsService.groovy
  216. 0 src/{java → main/groovy}/grails/plugin/springsecurity/userdetails/GrailsUser.java
  217. 0 src/{java → main/groovy}/grails/plugin/springsecurity/userdetails/GrailsUserDetailsService.java
  218. 0 ...ava → main/groovy}/grails/plugin/springsecurity/userdetails/NoStackUsernameNotFoundException.java
  219. 0 src/{java → main/groovy}/grails/plugin/springsecurity/web/NullFilterChainValidator.java
  220. 0 src/{java → main/groovy}/grails/plugin/springsecurity/web/SecurityRequestHolder.java
  221. 0 src/{java → main/groovy}/grails/plugin/springsecurity/web/access/AjaxAwareAccessDeniedHandler.java
  222. 0 src/{java → main/groovy}/grails/plugin/springsecurity/web/access/DefaultThrowableAnalyzer.java
  223. 0 ...→ main/groovy}/grails/plugin/springsecurity/web/access/GrailsWebInvocationPrivilegeEvaluator.java
  224. 0 .../groovy}/grails/plugin/springsecurity/web/access/channel/HeaderCheckInsecureChannelProcessor.java
  225. 0 ...in/groovy}/grails/plugin/springsecurity/web/access/channel/HeaderCheckSecureChannelProcessor.java
  226. 0 ...main/groovy}/grails/plugin/springsecurity/web/access/expression/WebExpressionConfigAttribute.java
  227. 0 src/{java → main/groovy}/grails/plugin/springsecurity/web/access/expression/WebExpressionVoter.java
  228. 0 ...groovy}/grails/plugin/springsecurity/web/access/intercept/AbstractFilterInvocationDefinition.java
  229. +531 −0 ...roovy/grails/plugin/springsecurity/web/access/intercept/AnnotationFilterInvocationDefinition.java
  230. 0 ...springsecurity/web/access/intercept/ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java
  231. 0 .../grails/plugin/springsecurity/web/access/intercept/InterceptUrlMapFilterInvocationDefinition.java
  232. 0 ...oovy}/grails/plugin/springsecurity/web/access/intercept/RequestmapFilterInvocationDefinition.java
  233. 0 ...in/groovy}/grails/plugin/springsecurity/web/authentication/AjaxAwareAuthenticationEntryPoint.java
  234. 0 ...roovy}/grails/plugin/springsecurity/web/authentication/AjaxAwareAuthenticationFailureHandler.java
  235. 0 ...roovy}/grails/plugin/springsecurity/web/authentication/AjaxAwareAuthenticationSuccessHandler.java
  236. 0 ... main/groovy}/grails/plugin/springsecurity/web/authentication/FilterProcessUrlRequestMatcher.java
  237. 0 .../groovy}/grails/plugin/springsecurity/web/authentication/NullLogoutHandlerRememberMeServices.java
  238. 0 ...in/groovy}/grails/plugin/springsecurity/web/authentication/RequestHolderAuthenticationFilter.java
  239. 0 ...va → main/groovy}/grails/plugin/springsecurity/web/authentication/logout/MutableLogoutFilter.java
  240. 0 ...}/grails/plugin/springsecurity/web/authentication/preauth/x509/ClosureX509PrincipalExtractor.java
  241. +2 −2 ...y/grails/plugin/springsecurity/web/authentication/rememberme/GormPersistentTokenRepository.groovy
  242. 0 ...y}/grails/plugin/springsecurity/web/authentication/switchuser/NullSwitchUserAuthorityChanger.java
  243. 0 src/{java → main/groovy}/grails/plugin/springsecurity/web/filter/DebugFilter.java
  244. 0 ...a → main/groovy}/grails/plugin/springsecurity/web/filter/GrailsAnonymousAuthenticationFilter.java
  245. 0 ... → main/groovy}/grails/plugin/springsecurity/web/filter/GrailsRememberMeAuthenticationFilter.java
  246. +1 −1 src/{java → main/groovy}/grails/plugin/springsecurity/web/filter/IpAddressFilter.java
  247. 0 { → src/main}/scripts/S2CreatePersistentToken.groovy
  248. 0 { → src/main}/scripts/S2CreateRoleHierarchyEntry.groovy
  249. 0 { → src/main}/scripts/S2Quickstart.groovy
  250. 0 { → src/main}/scripts/_Install.groovy
  251. 0 { → src/main}/scripts/_S2Common.groovy
  252. 0 src/{ → main}/templates/Authority.groovy.template
  253. 0 src/{ → main}/templates/AuthorityGroup.groovy.template
  254. 0 src/{ → main}/templates/AuthorityGroupAuthority.groovy.template
  255. 0 src/{ → main}/templates/PersistentLogin.groovy.template
  256. 0 src/{ → main}/templates/Person.groovy.template
  257. 0 src/{ → main}/templates/PersonAuthority.groovy.template
  258. 0 src/{ → main}/templates/PersonAuthorityGroup.groovy.template
  259. 0 src/{ → main}/templates/Requestmap.groovy.template
  260. 0 src/{ → main}/templates/RoleHierarchyEntry.groovy.template
  261. +5 −3 {test/unit → src/test/groovy}/grails/plugin/springsecurity/FakeApplication.groovy
  262. +2 −2 {test/unit → src/test/groovy}/grails/plugin/springsecurity/ReflectionUtilsTests.groovy
  263. 0 {test/unit → src/test/groovy}/grails/plugin/springsecurity/SecurityEventListenerTests.groovy
  264. 0 {test/unit → src/test/groovy}/grails/plugin/springsecurity/SecurityTestUtils.groovy
  265. +2 −2 {test/unit → src/test/groovy}/grails/plugin/springsecurity/SpringSecurityServiceTests.groovy
  266. 0 {test/unit → src/test/groovy}/grails/plugin/springsecurity/SpringSecurityUtilsSpec.groovy
  267. +1 −1 {test/unit → src/test/groovy}/grails/plugin/springsecurity/SpringSecurityUtilsTests.groovy
  268. +1 −1 {test/unit → src/test/groovy}/grails/plugin/springsecurity/TestUtils.groovy
  269. 0 ...groovy}/grails/plugin/springsecurity/access/vote/AuthenticatedVetoableDecisionManagerTests.groovy
  270. 0 ...nit → src/test/groovy}/grails/plugin/springsecurity/authentication/dao/NullSaltSourceTests.groovy
  271. 0 ...st/groovy}/grails/plugin/springsecurity/authentication/encoding/BCryptPasswordEncoderTests.groovy
  272. 0 ...st/groovy}/grails/plugin/springsecurity/authentication/encoding/PBKDF2PasswordEncoderTests.groovy
  273. 0 {test/unit → src/test/groovy}/grails/plugin/springsecurity/web/SecurityRequestHolderTests.groovy
  274. 0 ...src/test/groovy}/grails/plugin/springsecurity/web/access/AjaxAwareAccessDeniedHandlerTests.groovy
  275. 0 .../grails/plugin/springsecurity/web/access/intercept/AbstractFilterInvocationDefinitionTests.groovy
  276. +6 −6 ...rails/plugin/springsecurity/web/access/intercept/AnnotationFilterInvocationDefinitionTests.groovy
  277. 0 ...ecurity/web/access/intercept/ChannelFilterInvocationSecurityMetadataSourceFactoryBeanTests.groovy
  278. +3 −3 .../plugin/springsecurity/web/access/intercept/InterceptUrlMapFilterInvocationDefinitionTests.groovy
  279. 0 ...rails/plugin/springsecurity/web/access/intercept/RequestmapFilterInvocationDefinitionTests.groovy
  280. 0 ...vy}/grails/plugin/springsecurity/web/authentication/AjaxAwareAuthenticationEntryPointTests.groovy
  281. 0 ...grails/plugin/springsecurity/web/authentication/AjaxAwareAuthenticationFailureHandlerTests.groovy
  282. 0 ...grails/plugin/springsecurity/web/authentication/AjaxAwareAuthenticationSuccessHandlerTests.groovy
  283. 0 ...vy}/grails/plugin/springsecurity/web/authentication/RequestHolderAuthenticationFilterTests.groovy
  284. 0 ...st/groovy}/grails/plugin/springsecurity/web/authentication/logout/MutableLogoutFilterTests.groovy
  285. +1 −1 {test/unit → src/test/groovy}/grails/plugin/springsecurity/web/filter/IpAddressFilterTests.groovy

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View
@@ -0,0 +1,147 @@
buildscript {
ext {
grailsVersion = project.grailsVersion
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
plugins {
id "io.spring.dependency-management" version "0.4.0.RELEASE"
id "com.jfrog.bintray" version "1.1"
}
version "0.1-SNAPSHOT"
group "org.grails.plugins"
apply plugin: 'maven-publish'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: "spring-boot"
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-gsp"
// Used for publishing to central repository, remove if not needed
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'
ext {
grailsVersion = project.grailsVersion
gradleWrapperVersion = project.gradleWrapperVersion
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.grails.org/grails/core" }
}
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
dependencies {
provided 'org.springframework.boot:spring-boot-starter-logging'
provided "org.springframework.boot:spring-boot-starter-actuator"
provided "org.springframework.boot:spring-boot-autoconfigure"
provided "org.springframework.boot:spring-boot-starter-tomcat"
provided "org.grails:grails-web-boot"
provided "org.grails:grails-dependencies"
provided 'javax.servlet:javax.servlet-api:3.1.0'
testCompile "org.grails:grails-plugin-testing"
console "org.grails:grails-console"
String springSecurityVersion = '3.2.7.RELEASE'
compile("org.springframework.security:spring-security-core:$springSecurityVersion") {
exclude module:'aopalliance'
exclude module:'aspectjrt'
exclude module:'cglib-nodep'
exclude module:'commons-collections'
exclude module:'commons-logging'
exclude module:'ehcache'
exclude module:'fest-assert'
exclude module:'hsqldb'
exclude module:'jcl-over-slf4j'
exclude module:'jsr250-api'
exclude module:'junit'
exclude module:'logback-classic'
exclude module: 'mockito-core'
exclude module:'powermock-api-mockito'
exclude module:'powermock-api-support'
exclude module:'powermock-core'
exclude module:'powermock-module-junit4'
exclude module:'powermock-module-junit4-common'
exclude module:'powermock-reflect'
exclude module:'spring-aop'
exclude module:'spring-beans'
exclude module:'spring-context'
exclude module:'spring-core'
exclude module:'spring-expression'
exclude module:'spring-jdbc'
exclude module:'spring-test'
exclude module:'spring-tx'
}
compile("org.springframework.security:spring-security-web:$springSecurityVersion") {
exclude module:'aopalliance'
exclude module:'commons-collections'
exclude module:'commons-logging'
exclude module:'fest-assert'
exclude module:'groovy'
exclude module:'hsqldb'
exclude module:'jcl-over-slf4j'
exclude module: 'junit'
exclude module:'logback-classic'
exclude module: 'mockito-core'
exclude module: 'powermock-api-mockito'
exclude module:'powermock-api-support'
exclude module: 'powermock-core'
exclude module: 'powermock-module-junit4'
exclude module:'powermock-module-junit4-common'
exclude module: 'powermock-reflect'
exclude module: 'spock-core'
exclude module: 'spring-beans'
exclude module:'spring-context'
exclude module: 'spring-core'
exclude module: 'spring-expression'
exclude module: 'spring-jdbc'
exclude module:'spring-security-core'
exclude module: 'spring-test'
exclude module: 'spring-tx'
exclude module: 'spring-web'
exclude module: 'spring-webmvc'
exclude module: 'tomcat-servlet-api'
}
compile 'net.sf.ehcache:ehcache:2.9.0'
// String hibernateVersion = '3.6.10.Final'
// compile("org.hibernate:hibernate:3.6.10.Final") {
// //export = false
// }
compile('org.hibernate:hibernate:3.0.5') {
transitive = false
}
compile("org.grails.plugins:webxml:1.4.2")
// noExport "org.hibernate:hibernate"
}
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}
View
@@ -0,0 +1,2 @@
grailsVersion=3.0.1
gradleWrapperVersion=2.3
View
164 gradlew
@@ -0,0 +1,164 @@
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched.
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED" >&-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
Oops, something went wrong.

0 comments on commit 5212bc0

Please sign in to comment.