Skip to content

Commit

Permalink
Follow on updates for java 17 (#37)
Browse files Browse the repository at this point in the history
* Fix password encoding issue.

* Update sql script for compatibility wiht mysql 8.
  • Loading branch information
dbernstein committed Mar 1, 2024
1 parent e47e15a commit 258e487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- Host: localhost Database: snapshot
-- ------------------------------------------------------
-- Server version 5.5.38

/*!40101 SET @saved_cs_client = 'utf8' */;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
Expand Down

0 comments on commit 258e487

Please sign in to comment.