-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to OpenSAML 4.3.0 (shadowed) (#98199)
This commit upgrades to OpenSAML v4.3.0 Versions of OpenSAML ≥ 4.1 have a hard dependency on the non-FIPS release of BouncyCastle. This would prevent ES from being able to run in a JVM where BC-FIPS is configured as the security provider. Closes: #71983 Co-authored-by: Tim Vernum [email protected]
- Loading branch information
1 parent
b67a9e1
commit 1b468a0
Showing
11 changed files
with
376 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
apply plugin: 'elasticsearch.build' | ||
apply plugin: 'com.github.johnrengelman.shadow' | ||
|
||
dependencies { | ||
implementation "org.opensaml:opensaml-security-api:${versions.opensaml}" | ||
compileOnly "org.opensaml:opensaml-core:${versions.opensaml}" | ||
} | ||
|
||
['jarHell', 'thirdPartyAudit', 'splitPackagesAudit', 'forbiddenApisMain', 'licenseHeaders' ].each { | ||
tasks.named(it).configure { | ||
enabled = false | ||
} | ||
} | ||
|
||
tasks.named("dependencyLicenses").configure { | ||
mapping from: /opensaml-.*/, to: 'shibboleth' | ||
} | ||
|
||
tasks.named("shadowJar").configure { | ||
manifest { | ||
attributes 'Automatic-Module-Name': 'org.opensaml.security' | ||
} | ||
exclude 'META-INF/services/org.opensaml.security.crypto.ec.NamedCurve' | ||
} |
Oops, something went wrong.