From a078fd545ac9670b5b9cd4344af3e4bf86626b08 Mon Sep 17 00:00:00 2001 From: James Ward Date: Sat, 18 Jul 2026 17:25:55 -0400 Subject: [PATCH] chore: use `Grimmory` branding for basic auth realms (#2049) --- .../java/org/booklore/config/security/SecurityConfig.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/org/booklore/config/security/SecurityConfig.java b/backend/src/main/java/org/booklore/config/security/SecurityConfig.java index 944007aa7..797e9f85c 100644 --- a/backend/src/main/java/org/booklore/config/security/SecurityConfig.java +++ b/backend/src/main/java/org/booklore/config/security/SecurityConfig.java @@ -89,10 +89,10 @@ public class SecurityConfig { .anyRequest().authenticated() ) .httpBasic(basic -> basic - .realmName("Booklore OPDS") + .realmName("Grimmory OPDS") .authenticationEntryPoint((request, response, authException) -> { response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); - response.setHeader("WWW-Authenticate", "Basic realm=\"Booklore OPDS\""); + response.setHeader("WWW-Authenticate", "Basic realm=\"Grimmory OPDS\""); response.getWriter().write("HTTP Status 401 - " + authException.getMessage()); }) ); @@ -111,10 +111,10 @@ public class SecurityConfig { .anyRequest().authenticated() ) .httpBasic(basic -> basic - .realmName("Booklore Komga API") + .realmName("Grimmory Komga API") .authenticationEntryPoint((request, response, authException) -> { response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); - response.setHeader("WWW-Authenticate", "Basic realm=\"Booklore Komga API\""); + response.setHeader("WWW-Authenticate", "Basic realm=\"Grimmory Komga API\""); response.getWriter().write("HTTP Status 401 - " + authException.getMessage()); }) );