This is an automated email from the ASF dual-hosted git repository. ndipiazza pushed a commit to branch tika-grpc-3x-features in repository https://gitbox.apache.org/repos/asf/tika.git
commit 0026fa2861d6e7159e6c9c550e4cb78d993e572d Merge: 7544e8d21 5fcb7c8b7 Author: Nicholas DiPiazza <[email protected]> AuthorDate: Wed Apr 10 17:13:21 2024 -0500 Merge branch 'TIKA-4237-Add-JWT-authentication-ability-to-the-http-fetcher' into local-feature tika-pipes/tika-fetchers/tika-fetcher-http/pom.xml | 7 +- .../tika/pipes/fetcher/http/HttpFetcher.java | 95 ++++++++++++++++++++-- .../tika/pipes/fetcher/http/jwt/JwtCreds.java | 25 ++++++ .../tika/pipes/fetcher/http/jwt/JwtGenerator.java | 64 +++++++++++++++ .../pipes/fetcher/http/jwt/JwtPrivateKeyCreds.java | 43 ++++++++++ .../pipes/fetcher/http/jwt/JwtSecretCreds.java | 14 ++++ .../tika/pipes/fetcher/http/HttpFetcherTest.java | 27 ++++++ .../pipes/fetcher/http/jwt/JwtGeneratorTest.java | 40 +++++++++ 8 files changed, 306 insertions(+), 9 deletions(-) diff --cc tika-pipes/tika-fetchers/tika-fetcher-http/src/main/java/org/apache/tika/pipes/fetcher/http/HttpFetcher.java index 218b00b73,a5ed714a9..eb4d9215c --- a/tika-pipes/tika-fetchers/tika-fetcher-http/src/main/java/org/apache/tika/pipes/fetcher/http/HttpFetcher.java +++ b/tika-pipes/tika-fetchers/tika-fetcher-http/src/main/java/org/apache/tika/pipes/fetcher/http/HttpFetcher.java @@@ -69,7 -71,9 +71,10 @@@ import org.apache.tika.metadata.Propert import org.apache.tika.metadata.TikaCoreProperties; import org.apache.tika.pipes.fetcher.AbstractFetcher; import org.apache.tika.pipes.fetcher.RangeFetcher; +import org.apache.tika.pipes.fetcher.http.config.HttpFetcherConfig; + import org.apache.tika.pipes.fetcher.http.jwt.JwtGenerator; + import org.apache.tika.pipes.fetcher.http.jwt.JwtPrivateKeyCreds; + import org.apache.tika.pipes.fetcher.http.jwt.JwtSecretCreds; import org.apache.tika.utils.StringUtils; /**
