mvysny / vaadin-on-kotlin

Writing full-stack statically-typed web apps on JVM at its simplest
https://www.vaadinonkotlin.eu/
MIT License
186 stars 17 forks source link

Rework security to use javax.annotation.security #73

Closed mvysny closed 2 years ago

mvysny commented 2 years ago

We should drop the non-standard eu.vaadinonkotlin.security.* annotations in favor of javax.annotation.security.* annotations. This will help us in the future when we'll move to Vaadin 21+ AccessAnnotationChecker #71 .

Namely:

mvysny commented 2 years ago

Reopening since eu.vaadinonkotlin.security.AllowAll still needs to be replaced by com.vaadin.flow.server.auth.AnonymousAllowed. However, that's blocked by #72

mvysny commented 2 years ago

Also update the security.md documentation.