From 047f5dbf12450647f6db1d10f16c8b66fd1f75de Mon Sep 17 00:00:00 2001 From: Shinsuke Sugaya Date: Thu, 9 May 2024 18:39:12 +0900 Subject: [PATCH] replace with AUTHENTICATIONS_PROPERTY --- .../org/codelibs/fess/crawler/client/http/PlaywrightClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/codelibs/fess/crawler/client/http/PlaywrightClient.java b/src/main/java/org/codelibs/fess/crawler/client/http/PlaywrightClient.java index 0fa054e..b40cf00 100644 --- a/src/main/java/org/codelibs/fess/crawler/client/http/PlaywrightClient.java +++ b/src/main/java/org/codelibs/fess/crawler/client/http/PlaywrightClient.java @@ -522,7 +522,7 @@ protected NewContextOptions initNewContextOptions() { */ protected BrowserContext createAuthenticatedContext(final Browser browser, final NewContextOptions newContextOptions) { final Authentication[] authentications = - getInitParameter(HcHttpClient.BASIC_AUTHENTICATIONS_PROPERTY, new Authentication[0], Authentication[].class); + getInitParameter(HcHttpClient.AUTHENTICATIONS_PROPERTY, new Authentication[0], Authentication[].class); if (authentications.length == 0) { return browser.newContext(newContextOptions);