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
10 lines
172 B
SQL
10 lines
172 B
SQL
create table users (
|
|
username varchar(256),
|
|
password varchar(256),
|
|
enabled boolean
|
|
);
|
|
|
|
create table authorities (
|
|
username varchar(256),
|
|
authority varchar(256)
|
|
); |