Browse Source

Merge branch '6.4.x'

Josh Cummings 5 months ago
parent
commit
6ce8307885

+ 3 - 19
.github/workflows/continuous-integration-workflow.yml

@@ -64,39 +64,23 @@ jobs:
           ./gradlew publishMavenJavaPublicationToLocalRepository
           ./gradlew publishMavenJavaPublicationToLocalRepository
           ./gradlew cloneRepository -PrepositoryName="spring-projects/spring-security-samples" -Pref="$samples_branch" -PcloneOutputDirectory="$SAMPLES_DIR"
           ./gradlew cloneRepository -PrepositoryName="spring-projects/spring-security-samples" -Pref="$samples_branch" -PcloneOutputDirectory="$SAMPLES_DIR"
           ./gradlew --refresh-dependencies --project-dir "$SAMPLES_DIR" --init-script spring-security-ci.gradle -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" -PspringSecurityVersion="$version" test integrationTest
           ./gradlew --refresh-dependencies --project-dir "$SAMPLES_DIR" --init-script spring-security-ci.gradle -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" -PspringSecurityVersion="$version" test integrationTest
-  check-tangles:
-    name: Check for Package Tangles
-    runs-on: ubuntu-latest
-    if: ${{ github.repository_owner == 'spring-projects' }}
-    steps:
-      - uses: actions/checkout@v4
-      - name: Set up gradle
-        uses: spring-io/spring-gradle-build-action@v2
-        with:
-          java-version: 17
-          distribution: temurin
-      - name: Check for package tangles
-        env:
-          STRUCTURE101_LICENSEID: ${{ secrets.STRUCTURE101_LICENSEID }}
-        run: |
-          ./gradlew assemble && ./gradlew s101 -Ps101.licenseId="$STRUCTURE101_LICENSEID" --stacktrace
   deploy-artifacts:
   deploy-artifacts:
     name: Deploy Artifacts
     name: Deploy Artifacts
-    needs: [ build, test, check-samples, check-tangles ]
+    needs: [ build, test, check-samples ]
     uses: spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@v1
     uses: spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@v1
     with:
     with:
       should-deploy-artifacts: ${{ needs.build.outputs.should-deploy-artifacts }}
       should-deploy-artifacts: ${{ needs.build.outputs.should-deploy-artifacts }}
     secrets: inherit
     secrets: inherit
   deploy-docs:
   deploy-docs:
     name: Deploy Docs
     name: Deploy Docs
-    needs: [ build, test, check-samples, check-tangles ]
+    needs: [ build, test, check-samples ]
     uses: spring-io/spring-security-release-tools/.github/workflows/deploy-docs.yml@v1
     uses: spring-io/spring-security-release-tools/.github/workflows/deploy-docs.yml@v1
     with:
     with:
       should-deploy-docs: ${{ needs.build.outputs.should-deploy-artifacts }}
       should-deploy-docs: ${{ needs.build.outputs.should-deploy-artifacts }}
     secrets: inherit
     secrets: inherit
   deploy-schema:
   deploy-schema:
     name: Deploy Schema
     name: Deploy Schema
-    needs: [ build, test, check-samples, check-tangles ]
+    needs: [ build, test, check-samples ]
     uses: spring-io/spring-security-release-tools/.github/workflows/deploy-schema.yml@v1
     uses: spring-io/spring-security-release-tools/.github/workflows/deploy-schema.yml@v1
     with:
     with:
       should-deploy-schema: ${{ needs.build.outputs.should-deploy-artifacts }}
       should-deploy-schema: ${{ needs.build.outputs.should-deploy-artifacts }}

+ 0 - 6
build.gradle

@@ -20,7 +20,6 @@ plugins {
 
 
 apply plugin: 'io.spring.nohttp'
 apply plugin: 'io.spring.nohttp'
 apply plugin: 'locks'
 apply plugin: 'locks'
-apply plugin: 's101'
 apply plugin: 'io.spring.convention.root'
 apply plugin: 'io.spring.convention.root'
 apply plugin: 'org.jetbrains.kotlin.jvm'
 apply plugin: 'org.jetbrains.kotlin.jvm'
 apply plugin: 'org.springframework.security.versions.verify-dependencies-versions'
 apply plugin: 'org.springframework.security.versions.verify-dependencies-versions'
@@ -121,11 +120,6 @@ tasks.register('cloneRepository', IncludeRepoTask) {
 	outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : defaultDirectory
 	outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : defaultDirectory
 }
 }
 
 
-s101 {
-	repository = 'https://structure101.com/binaries/latest'
-	configurationDirectory = project.file("etc/s101")
-}
-
 wrapperUpgrade {
 wrapperUpgrade {
 	gradle {
 	gradle {
 		'spring-security' {
 		'spring-security' {

+ 1 - 1
core/src/test/java/org/springframework/security/authorization/method/ExpressionUtilsTests.java

@@ -64,7 +64,7 @@ public class ExpressionUtilsTests {
 	}
 	}
 
 
 	public Object throwException() {
 	public Object throwException() {
-		throw new AuthorizationDeniedException("denied");
+		throw new AuthorizationDeniedException("denied", new AuthorizationDecision(false));
 	}
 	}
 
 
 	public boolean returnResult() {
 	public boolean returnResult() {