evainga / rememberbrall

A tiny little programme which helps to remember interesting stuff.
2 stars 1 forks source link

Make delete all entries more secure #22

Closed evainga closed 5 years ago

evainga commented 6 years ago

so that entries cannot be deleted too easily.

use spring security

mle-enso commented 6 years ago

Make sure you study the getting started example as well as the method-level security with annotations.

mle-enso commented 6 years ago

And this very good example.

evainga commented 6 years ago

Finally found a way to integrate spring-security into my pom.xml. This wasn't as easy as expected because it needs speacial treatment with webflux. That's how I finally found out: https://stackoverflow.com/questions/45116874/classnotfoundexception-with-spring-webflux-security and https://github.com/spring-projects/spring-boot/issues/9925

Also find this article for my next steps very helpful: http://www.baeldung.com/spring-security-5-reactive

mle-enso commented 6 years ago

https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#jc-authorize-requests

evainga commented 5 years ago

I will finally close this issue, as it has been fixed with commit 94df6b