first create database name demorest
Run app
INSERT INTO appuser (authorities, password, username)
VALUES ('ROLE_ADMIN, ROLE_EM PLOYEE, ROLE_MANAGER', '$2a$10$aS/lF2c/9JWPUjDHfJ/zTed1ihGBgfX/7xnGTOM5/lW59X4FHalSi', 'lynas');
{
"username" : "lynas",
"password" : "123456"
}
{
"token": "sasdasdasd"
}
http://localhost:8080/protected
X-Auth-Token : "sasdasdasd"