From 712cde1540e30bc8184a16ee22472dba6cf59d5f Mon Sep 17 00:00:00 2001 From: angelahuqing Date: Thu, 7 Dec 2023 10:44:25 -0800 Subject: [PATCH] [SERV-987] Further updated versions to fix vulnerabilities --- pom.xml | 4 ++-- .../java/edu/ucla/library/iiif/auth/AccessTokenError.java | 4 ++-- .../ucla/library/iiif/auth/handlers/AccessTokenHandlerIT.java | 1 + .../edu/ucla/library/iiif/auth/handlers/ItemsHandlerIT.java | 4 ++-- .../library/iiif/auth/services/AccessCookieServiceTest.java | 2 +- .../ucla/library/iiif/auth/services/DatabaseServiceIT.java | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 02b5f85..b4cf9ef 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ 3.3.0 1.0.1 1.15 - 4.4.4 + 4.4.6 3.1.0 @@ -886,7 +886,7 @@ freelib-parent info.freelibrary - 8.0.4 + 8.0.5 diff --git a/src/main/java/edu/ucla/library/iiif/auth/AccessTokenError.java b/src/main/java/edu/ucla/library/iiif/auth/AccessTokenError.java index 2f2a724..16415c1 100644 --- a/src/main/java/edu/ucla/library/iiif/auth/AccessTokenError.java +++ b/src/main/java/edu/ucla/library/iiif/auth/AccessTokenError.java @@ -27,9 +27,9 @@ public enum AccessTokenError { * The request comes from an invalid origin. */ - invalidOrigin, + invalidOrigin, - /** + /** * The requested operation is currently unavailable. */ unavailable diff --git a/src/test/java/edu/ucla/library/iiif/auth/handlers/AccessTokenHandlerIT.java b/src/test/java/edu/ucla/library/iiif/auth/handlers/AccessTokenHandlerIT.java index c41feeb..6e602f7 100644 --- a/src/test/java/edu/ucla/library/iiif/auth/handlers/AccessTokenHandlerIT.java +++ b/src/test/java/edu/ucla/library/iiif/auth/handlers/AccessTokenHandlerIT.java @@ -39,6 +39,7 @@ * Tests {@link AccessTokenHandler#handle}. */ public final class AccessTokenHandlerIT extends AbstractAccessTokenHandlerIT { + /** * A constant for a semicolon. */ diff --git a/src/test/java/edu/ucla/library/iiif/auth/handlers/ItemsHandlerIT.java b/src/test/java/edu/ucla/library/iiif/auth/handlers/ItemsHandlerIT.java index 3227317..c1fc467 100644 --- a/src/test/java/edu/ucla/library/iiif/auth/handlers/ItemsHandlerIT.java +++ b/src/test/java/edu/ucla/library/iiif/auth/handlers/ItemsHandlerIT.java @@ -303,8 +303,8 @@ public void testImportItemsScript(final Vertx aVertx, final VertxTestContext aCo } /** - * Tests that the given visibility is a valid access mode. - * + * Tests that the given visibility is a valid access mode. + * * @param aVisibility A Visibility field value * @return A Future that succeeds if there is a mapping from the provided visibility to an access mode, else fails */ diff --git a/src/test/java/edu/ucla/library/iiif/auth/services/AccessCookieServiceTest.java b/src/test/java/edu/ucla/library/iiif/auth/services/AccessCookieServiceTest.java index 2a75ecb..cc013fc 100644 --- a/src/test/java/edu/ucla/library/iiif/auth/services/AccessCookieServiceTest.java +++ b/src/test/java/edu/ucla/library/iiif/auth/services/AccessCookieServiceTest.java @@ -241,7 +241,7 @@ public final void testInvalidateExpiredSinaiCookie(final Vertx aVertx, final Ver /** * Helper methond logger. - * + * * @return The logger */ protected Logger getLogger() { diff --git a/src/test/java/edu/ucla/library/iiif/auth/services/DatabaseServiceIT.java b/src/test/java/edu/ucla/library/iiif/auth/services/DatabaseServiceIT.java index 382a09a..ee8a784 100644 --- a/src/test/java/edu/ucla/library/iiif/auth/services/DatabaseServiceIT.java +++ b/src/test/java/edu/ucla/library/iiif/auth/services/DatabaseServiceIT.java @@ -196,7 +196,7 @@ final void testSetItemsInvalidItem(final VertxTestContext aContext) { /** * Helper methond logger. - * + * * @return The logger */ protected Logger getLogger() {