Grails Spring Security Plugins

Clone this repo:
  1. 24a5fb7 Merge pull request #1115 from matrei/license-headers by James Daugherty · 3 days ago 7.0.x
  2. 36b4442 chore: remove metaspace size since in later JVMs it's unlimited by James Daugherty · 3 days ago
  3. 20d1ae4 fix: turn off dependency management plugin to ensure we build with local projects & dependency exclusions are honored by James Daugherty · 3 days ago
  4. 252e399 chore: exclude build directories by James Daugherty · 3 days ago
  5. 4fca875 chore: ignore update asset cache file name by James Daugherty · 3 days ago

Java CI

Grails Spring Security

See documentation for further information.

Branch structure

  • 7.0.x compatible with Grails 7
  • 6.0.x compatible with Grails 6
  • 5.0.x compatible with Grails 5
  • 4.0.x compatible with Grails 4
  • 3.3.x compatible with Grails 3.3.x
  • 3.2.x compatible with Grails 3.2.x

Grails 7 requires disabling any Spring Security Auto Configurations you may have in your classpath. This can be done via annotation or application.yml e.g.

spring:
  autoconfigure:
    exclude:
      - org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration
      - org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration
      - org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
      - org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
      - org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientAutoConfiguration
      - org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration
      - org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration

Building

To build this project from source, first bootstrap gradle:

 cd gradle-bootstrap
 gradle
 cd -

After bootstrap the project, you can build it with the command:

 ./gradlew build

To run the build only, and skip the tests, run:

 ./gradlew build -PskipTests