Introduction Spring Security is an authentication and access-control framework that provides protection against possible security attacks. Including click-jacking, cross-site request forgery, session hijacking, etc.. Authentication and Access-control Furthermore, other developers get confused between authentication and authorization/access-control. In that case, spring-security provides an architecture which designs to separate the authentication from authorization to avoid the confusion. Authentication is a