From 28b289902f19b484d74f34ccc721d562dde46c67 Mon Sep 17 00:00:00 2001 From: Janelle Law Date: Mon, 29 Nov 2021 17:36:07 -0500 Subject: [PATCH] fixup! Add unit tests, rename function --- src/main/java/io/cryostat/net/OpenShiftAuthManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/cryostat/net/OpenShiftAuthManager.java b/src/main/java/io/cryostat/net/OpenShiftAuthManager.java index 2492eae1fd..b93ba7fc03 100644 --- a/src/main/java/io/cryostat/net/OpenShiftAuthManager.java +++ b/src/main/java/io/cryostat/net/OpenShiftAuthManager.java @@ -88,9 +88,9 @@ public class OpenShiftAuthManager extends AbstractAuthManager { private static final Set PERMISSION_NOT_REQUIRED = Set.of(GroupResource.PERMISSION_NOT_REQUIRED); - private final String OAUTH_WELL_KNOWN_HOST = "openshift.default.svc"; - private final String WELL_KNOWN_PATH = "/.well-known/oauth-authorization-server"; - private final String OAUTH_ENDPOINT_KEY = "authorization_endpoint"; + private static final String OAUTH_WELL_KNOWN_HOST = "openshift.default.svc"; + private static final String WELL_KNOWN_PATH = "/.well-known/oauth-authorization-server"; + private static final String OAUTH_ENDPOINT_KEY = "authorization_endpoint"; private final Environment env; private final FileSystem fs;