callicoder / spring-security-react-ant-design-polls-app

Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
https://www.callicoder.com/spring-boot-spring-security-jwt-mysql-react-app-part-1/
1.77k stars 1.07k forks source link

How to add private boolean enabled in user table #11

Open jithumajinu opened 5 years ago

jithumajinu commented 5 years ago

How to add private boolean enabled in the user table and use this in login authentication.

ShreyAgarwal11 commented 5 years ago

I can help you with the problem but would be requiring more info on why you would like to add a private boolean. If you want to implement authorization then a better way of doing it would be by using role specific privileges.