Add secure sample with JDBC and data.sql
We can't easily solve the problem by not allowing Spring Security to eagerly instantiate everything, but we can be defensive about data.sql and make sure it is executed even if the listener isn't yet registered. Fixes gh-1386
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
create table users (
|
||||
username varchar(256),
|
||||
password varchar(256),
|
||||
enabled boolean
|
||||
);
|
||||
|
||||
create table authorities (
|
||||
username varchar(256),
|
||||
authority varchar(256)
|
||||
);
|
||||
Reference in New Issue
Block a user