Skip to content

Commit 8921126

Browse files
committed
Support for authentication in remote artifact requests (OAuth2.0, HTTP basic, HTTP header)
1 parent ed8bd09 commit 8921126

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

NOTICE.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ This product depends on software developed by third parties as listed in the fol
3939
| Apache License, Version 2.0 | Caffeine cache | com.github.ben-manes.caffeine:caffeine | 3.2.3 | https://github.com/ben-manes/caffeine |
4040
| The 3-Clause BSD No Nuclear License | Java Advanced Imaging Image I/O Tools API core (standalone) | com.github.jai-imageio:jai-imageio-core | 1.4.0 | https://github.com/jai-imageio/jai-imageio-core |
4141
| UnRAR License | Java Unrar | com.github.junrar:junrar | 7.5.5 | https://github.com/junrar/junrar |
42+
| Apache License, Version 2.0 | JCIP Annotations under Apache License | com.github.stephenc.jcip:jcip-annotations | 1.0-1 | http://stephenc.github.com/jcip-annotations |
4243
| The 3-Clause BSD License | curvesapi | com.github.virtuald:curvesapi | 1.08 | https://github.com/virtuald/curvesapi |
4344
| Apache License, Version 2.0 | FindBugs-jsr305 | com.google.code.findbugs:jsr305 | 3.0.2 | http://findbugs.sourceforge.net/ |
4445
| Apache License, Version 2.0 | error-prone annotations | com.google.errorprone:error_prone_annotations | 2.3.4 | http://nexus.sonatype.org/oss-repository-hosting.html/error_prone_parent/error_prone_annotations |
@@ -54,6 +55,10 @@ This product depends on software developed by third parties as listed in the fol
5455
| Apache License, Version 2.0 | MaxMind DB Reader | com.maxmind.db:maxmind-db | 2.0.0 | http://dev.maxmind.com/ |
5556
| Apache License, Version 2.0 | MaxMind GeoIP2 API | com.maxmind.geoip2:geoip2 | 3.0.1 | https://dev.maxmind.com/geoip?lang=en |
5657
| Apache License, Version 2.0 | JsonSchemaValidator | com.networknt:json-schema-validator | 1.0.38 | https://github.com/networknt/json-schema-validator |
58+
| Apache License, Version 2.0 | Nimbus Content Type | com.nimbusds:content-type | 2.2 | https://bitbucket.org/connect2id/nimbus-content-type |
59+
| Apache License, Version 2.0 | Nimbus LangTag | com.nimbusds:lang-tag | 1.7 | https://bitbucket.org/connect2id/nimbus-language-tags |
60+
| Apache License, Version 2.0 | Nimbus JOSE+JWT | com.nimbusds:nimbus-jose-jwt | 9.37.4 | https://bitbucket.org/connect2id/nimbus-jose-jwt |
61+
| Apache License, Version 2.0 | OAuth 2.0 SDK with OpenID Connect extensions | com.nimbusds:oauth2-oidc-sdk | 9.43.6 | https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions |
5762
| Apache License, Version 2.0 | java-libpst | com.pff:java-libpst | 0.9.3 | https://github.com/rjohnsondev/java-libpst |
5863
| Apache License, Version 2.0 | rome | com.rometools:rome | 2.1.0 | http://rometools.com/rome |
5964
| Apache License, Version 2.0 | rome-utils | com.rometools:rome-utils | 2.1.0 | http://rometools.com/rome-utils |
@@ -89,6 +94,8 @@ This product depends on software developed by third parties as listed in the fol
8994
| Eclipse Distribution License - v1.0 | Jakarta XML Binding API | jakarta.xml.bind:jakarta.xml.bind-api | 4.0.2 | https://github.com/jakartaee/jaxb-api/jakarta.xml.bind-api |
9095
| Eclipse Distribution License - v1.0 | Jakarta SOAP with Attachments API | jakarta.xml.soap:jakarta.xml.soap-api | 3.0.2 | https://github.com/jakartaee/saaj-api |
9196
| Eclipse Distribution License - v1.0 | Jakarta XML Web Services API | jakarta.xml.ws:jakarta.xml.ws-api | 4.0.2 | https://github.com/jakartaee/jax-ws-api |
97+
| Apache License, Version 2.0 | ASM based accessors helper used by json-smart | net.minidev:accessors-smart | 2.5.2 | https://urielch.github.io/ |
98+
| Apache License, Version 2.0 | JSON Small and Fast Parser | net.minidev:json-smart | 2.5.2 | https://urielch.github.io/ |
9299
| Mozilla Public License Version 2.0 | Saxon-HE | net.sf.saxon:Saxon-HE | 12.8 | http://www.saxonica.com/ |
93100
| Apache License, Version 2.0 | Apache Commons Collections | org.apache.commons:commons-collections4 | 4.5.0 | https://commons.apache.org/proper/commons-collections/ |
94101
| Apache License, Version 2.0 | Apache Commons Compress | org.apache.commons:commons-compress | 1.28.0 | https://commons.apache.org/proper/commons-compress/ |
@@ -117,15 +124,14 @@ This product depends on software developed by third parties as listed in the fol
117124
| Apache License, Version 2.0 | Log4j API to SLF4J Adapter | org.apache.logging.log4j:log4j-to-slf4j | 2.24.3 | https://logging.apache.org/log4j/2.x/log4j/log4j-to-slf4j/ |
118125
| Apache License, Version 2.0 | Apache Neethi | org.apache.neethi:neethi | 3.2.1 | https://ws.apache.org/neethi/ |
119126
| Apache License, Version 2.0 | Apache FontBox | org.apache.pdfbox:fontbox | 3.0.5 | http://pdfbox.apache.org/ |
120-
| Apache License, Version 2.0 | Apache FontBox | org.apache.pdfbox:fontbox | 3.0.6 | http://pdfbox.apache.org/ |
127+
| Apache License, Version 2.0 | Apache FontBox | org.apache.pdfbox:fontbox | 3.0.7 | http://pdfbox.apache.org/ |
121128
| Apache License, Version 2.0 | PDFBox JBIG2 ImageIO plugin | org.apache.pdfbox:jbig2-imageio | 3.0.4 | https://www.apache.org/jbig2-imageio/ |
122129
| Apache License, Version 2.0 | Apache JempBox | org.apache.pdfbox:jempbox | 1.8.17 | http://www.apache.org/pdfbox-parent/jempbox/ |
123-
| Apache License, Version 2.0 | Apache PDFBox | org.apache.pdfbox:pdfbox | 3.0.6 | https://www.apache.org/pdfbox-parent/pdfbox/ |
130+
| Apache License, Version 2.0 | Apache PDFBox | org.apache.pdfbox:pdfbox | 3.0.7 | https://www.apache.org/pdfbox-parent/pdfbox/ |
124131
| Apache License, Version 2.0 | Apache PDFBox io | org.apache.pdfbox:pdfbox-io | 3.0.5 | https://www.apache.org/pdfbox-parent/pdfbox-io/ |
125-
| Apache License, Version 2.0 | Apache PDFBox io | org.apache.pdfbox:pdfbox-io | 3.0.6 | https://www.apache.org/pdfbox-parent/pdfbox-io/ |
132+
| Apache License, Version 2.0 | Apache PDFBox io | org.apache.pdfbox:pdfbox-io | 3.0.7 | https://www.apache.org/pdfbox-parent/pdfbox-io/ |
126133
| Apache License, Version 2.0 | Apache PDFBox tools | org.apache.pdfbox:pdfbox-tools | 3.0.5 | https://www.apache.org/pdfbox-parent/pdfbox-tools/ |
127-
| Apache License, Version 2.0 | Apache XmpBox | org.apache.pdfbox:xmpbox | 3.0.3 | https://www.apache.org/pdfbox-parent/xmpbox/ |
128-
| Apache License, Version 2.0 | Apache XmpBox | org.apache.pdfbox:xmpbox | 3.0.5 | https://www.apache.org/pdfbox-parent/xmpbox/ |
134+
| Apache License, Version 2.0 | Apache XmpBox | org.apache.pdfbox:xmpbox | 3.0.7 | https://www.apache.org/pdfbox-parent/xmpbox/ |
129135
| Apache License, Version 2.0 | Apache POI - Common | org.apache.poi:poi | 5.4.1 | https://poi.apache.org/ |
130136
| Apache License, Version 2.0 | Apache POI - API based on OPC and OOXML schemas | org.apache.poi:poi-ooxml | 5.4.1 | https://poi.apache.org/ |
131137
| Apache License, Version 2.0 | Apache POI | org.apache.poi:poi-ooxml-lite | 5.4.1 | https://poi.apache.org/ |
@@ -226,6 +232,7 @@ This product depends on software developed by third parties as listed in the fol
226232
| Apache License, Version 2.0 | spring-boot-starter-aop | org.springframework.boot:spring-boot-starter-aop | 3.5.11 | https://spring.io/projects/spring-boot |
227233
| Apache License, Version 2.0 | spring-boot-starter-json | org.springframework.boot:spring-boot-starter-json | 3.5.11 | https://spring.io/projects/spring-boot |
228234
| Apache License, Version 2.0 | spring-boot-starter-logging | org.springframework.boot:spring-boot-starter-logging | 3.5.11 | https://spring.io/projects/spring-boot |
235+
| Apache License, Version 2.0 | spring-boot-starter-oauth2-client | org.springframework.boot:spring-boot-starter-oauth2-client | 3.5.11 | https://spring.io/projects/spring-boot |
229236
| Apache License, Version 2.0 | spring-boot-starter-security | org.springframework.boot:spring-boot-starter-security | 3.5.11 | https://spring.io/projects/spring-boot |
230237
| Apache License, Version 2.0 | spring-boot-starter-thymeleaf | org.springframework.boot:spring-boot-starter-thymeleaf | 3.5.11 | https://spring.io/projects/spring-boot |
231238
| Apache License, Version 2.0 | spring-boot-starter-tomcat | org.springframework.boot:spring-boot-starter-tomcat | 3.5.11 | https://spring.io/projects/spring-boot |
@@ -234,6 +241,9 @@ This product depends on software developed by third parties as listed in the fol
234241
| Apache License, Version 2.0 | spring-security-config | org.springframework.security:spring-security-config | 6.5.8 | https://spring.io/projects/spring-security |
235242
| Apache License, Version 2.0 | spring-security-core | org.springframework.security:spring-security-core | 6.5.8 | https://spring.io/projects/spring-security |
236243
| Apache License, Version 2.0 | spring-security-crypto | org.springframework.security:spring-security-crypto | 6.5.8 | https://spring.io/projects/spring-security |
244+
| Apache License, Version 2.0 | spring-security-oauth2-client | org.springframework.security:spring-security-oauth2-client | 6.5.8 | https://spring.io/projects/spring-security |
245+
| Apache License, Version 2.0 | spring-security-oauth2-core | org.springframework.security:spring-security-oauth2-core | 6.5.8 | https://spring.io/projects/spring-security |
246+
| Apache License, Version 2.0 | spring-security-oauth2-jose | org.springframework.security:spring-security-oauth2-jose | 6.5.8 | https://spring.io/projects/spring-security |
237247
| Apache License, Version 2.0 | spring-security-web | org.springframework.security:spring-security-web | 6.5.8 | https://spring.io/projects/spring-security |
238248
| The 3-Clause BSD License | JMatIO | org.tallison:jmatio | 1.5 | https://github.com/tballison/jmatio |
239249
| Apache License, Version 2.0 | thymeleaf | org.thymeleaf:thymeleaf | 3.1.3.RELEASE | http://www.thymeleaf.org/thymeleaf-lib/thymeleaf |

csvvalidator-jar/src/main/java/eu/europa/ec/itb/csv/standalone/Application.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.springframework.boot.autoconfigure.SpringBootApplication;
2020
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration;
2121
import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration;
22+
import org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientAutoConfiguration;
2223
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
2324
import org.springframework.context.annotation.ComponentScan;
2425

@@ -27,7 +28,7 @@
2728
/**
2829
* Application entry point when running the validator as a command-line tool.
2930
*/
30-
@SpringBootApplication(exclude = {UserDetailsServiceAutoConfiguration.class, FreeMarkerAutoConfiguration.class, GsonAutoConfiguration.class})
31+
@SpringBootApplication(exclude = {UserDetailsServiceAutoConfiguration.class, FreeMarkerAutoConfiguration.class, GsonAutoConfiguration.class, OAuth2ClientAutoConfiguration.class})
3132
@ComponentScan("eu.europa.ec.itb")
3233
public class Application {
3334

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</modules>
4040

4141
<properties>
42-
<version.itbCommons>1.10.0</version.itbCommons>
42+
<version.itbCommons>1.11.0-SNAPSHOT</version.itbCommons>
4343
<version.asm>9.7.1</version.asm>
4444
<version.json-schema-validator>1.0.38</version.json-schema-validator>
4545
</properties>

0 commit comments

Comments
 (0)