/springsecurity

Spring security

Primary LanguageJava

springsecurity

This Spring Security repository has all my stuffs which i have implemented while learning spring security.

This repository has very basic examples, implemented in 3 ways

  • XML configuration way
  • JAVA configuration way
  • Spring boot way

However i concentrated more on java configuration way of implementation in most of the examples. Even though i could have done all 3 ways of implementation for all examples unfortunately i haven't implemented for all examples.

While learning spring security, most of the concepts i understood by going through source code of spring security. And my understandings i noted and made available to myself by writing answers in stack overflow. You can find my well analysed answers on spring security in below given link.

  1. Sequence of execution in Spring Security

  2. What is the most common way to authenticate a modern web app?

  3. Difference between authentication and authorization in context of Spring Security?

  4. Multiple AuthenticationProvider with different UsernamePasswordAuthToken to authenticate different login forms without fallback authentication

  5. For Quick understanding of @Bean, @Autowired and @Qualifier Simple 6 cases that explains very well

  6. When do we need multiple dispatcher servlets

  7. Setting up security for both web application and Rest API

  8. X509 and JWT

  9. how to ignore spring security CSRF for specific URL's in spring project

  10. Why we should make login page as unrestricted resource?

  11. Spring MVC - content-type aware response from filter