d-baranowski / Devtales-Blog

Source code for my blog.
1 stars 0 forks source link

Authentication and Authorisation in Spring Boot and Benefits for testning #52

Open d-baranowski opened 6 years ago

d-baranowski commented 6 years ago

I made a mistake yesterday where I avoided using Spring security because It would take a while to setup correctly.

The correct way would be to tie into the sprint secority context. The reason for that is ALL INTEGRATION TESTS don't need to be converted to use the AUTHENTICATION token. Good example of how to do it is in BS-Reports and Spotbreak

d-baranowski commented 6 years ago

Outdated

d-baranowski commented 6 years ago

Actually I might go back to it