Grails Spring Security Plugins

Clone this repo:
  1. 55b24d0 [skip ci] Add additional required reviewers for GitHub environments by Mattias Reichel · 10 hours ago 7.0.x
  2. dbcd070 [skip ci] post 7.0.0 release adjustments by Mattias Reichel · 13 hours ago
  3. 8b6ee8a Merge pull request #1190 from apache/merge-back-7.0.0 by James Daugherty · 13 hours ago
  4. 41368e0 [skip ci] Bump version to 7.0.1-SNAPSHOT by matrei · 13 hours ago
  5. db781f5 [skip ci] Release v7.0.0 by matrei · 4 days ago v7.0.0

Java CI

Grails Spring Security

See documentation for detailed information.

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

Then publish the jar files to mavenLocal for usage:

./gradlew publishToMavenLocal

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