Skip to content

Commit

Permalink
Fix password encoding issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Mar 1, 2024
1 parent e47e15a commit 0029710
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

0 comments on commit 0029710

Please sign in to comment.