After Authentication comes Authorization.
Go through the tutorial on authentication video :
https://www.youtube.com/watch?v=RpC575j3g3s
Github links:-
https://github.com/Saborni/Saborni-s-POCs
https://github.com/Saborni/Saborni-s-POCs/tree/master/spring-security