Skip to content

fengmiao/spring-security-session-redis-user-details-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README.md

启动应用:

mvn spring-boot:run

访问API:

http://localhost:8080/debug/index.html 即可在线查看API手册和调试API。

create user table:

CREATE TABLE users ( id int(11) NOT NULL AUTO_INCREMENT, username varchar(45) NOT NULL, password varchar(45) NOT NULL, enabled varchar(45) NOT NULL DEFAULT '1', PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

CREATE TABLE authorities ( id int(11) NOT NULL AUTO_INCREMENT, username varchar(45) NOT NULL, authority varchar(45) NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

About

spring-security-session-redis-user-details-service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published