Skip to content

Commit cbf0e1d

Browse files
committed
Remove commons-logging from saml2
Issue gh-10499
1 parent 2471e32 commit cbf0e1d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

saml2/saml2-service-provider/spring-security-saml2-service-provider.gradle

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,19 @@ dependencies {
4444
management platform(project(":spring-security-dependencies"))
4545
api project(':spring-security-web')
4646
api "org.opensaml:opensaml-core"
47-
api "org.opensaml:opensaml-saml-api"
48-
api "org.opensaml:opensaml-saml-impl"
47+
api ("org.opensaml:opensaml-saml-api") {
48+
exclude group: 'commons-logging', module: 'commons-logging'
49+
}
50+
api ("org.opensaml:opensaml-saml-impl") {
51+
exclude group: 'commons-logging', module: 'commons-logging'
52+
}
4953
opensaml4MainImplementation "org.opensaml:opensaml-core:4.1.0"
50-
opensaml4MainImplementation "org.opensaml:opensaml-saml-api:4.1.0"
51-
opensaml4MainImplementation "org.opensaml:opensaml-saml-impl:4.1.0"
54+
opensaml4MainImplementation ("org.opensaml:opensaml-saml-api:4.1.0") {
55+
exclude group: 'commons-logging', module: 'commons-logging'
56+
}
57+
opensaml4MainImplementation ("org.opensaml:opensaml-saml-impl:4.1.0") {
58+
exclude group: 'commons-logging', module: 'commons-logging'
59+
}
5260

5361
provided 'jakarta.servlet:jakarta.servlet-api'
5462

0 commit comments

Comments
 (0)