I have created securityConfig class with extending WebSecurityConfigurerAdapter. Here I have implemented passwordEncoder, it is return NoOpPasswordEncoder instance that means password encoder that does nothing. It is useful for testing where working with plain text passwords may be preferred.
Configure method handle all the security configurations like csrf and filters.
https://khmerside.blogspot.com/2022/07/secure-spring-boot-application-with-jwt_24.html

