From 0029710e627f625169f3fb7b45bcd9488a2fd9ea Mon Sep 17 00:00:00 2001 From: Daniel Bernstein Date: Fri, 1 Mar 2024 09:43:53 -0800 Subject: [PATCH] Fix password encoding issue. --- .../snapshot/bridge/rest/config/WebSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshot-bridge-webapp/src/main/java/org/duracloud/snapshot/bridge/rest/config/WebSecurityConfig.java b/snapshot-bridge-webapp/src/main/java/org/duracloud/snapshot/bridge/rest/config/WebSecurityConfig.java index 33e553e6..87f022a5 100644 --- a/snapshot-bridge-webapp/src/main/java/org/duracloud/snapshot/bridge/rest/config/WebSecurityConfig.java +++ b/snapshot-bridge-webapp/src/main/java/org/duracloud/snapshot/bridge/rest/config/WebSecurityConfig.java @@ -31,7 +31,7 @@ public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception RootUserCredential root = new RootUserCredential(); auth.inMemoryAuthentication() .withUser(root.getUsername()) - .password(root.getPassword()) + .password("{noop}" + root.getPassword()) //noop required for spring 5 .roles("USER"); } } \ No newline at end of file