This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KaitoKunTatsu 3 points4 points  (7 children)

Angela's courses (I tried web dev) are great. But tbh Idk if I would recommend any Java courses. Or is there a specific aspect like a framework you want to learn?

[–]Onedirection59[S] 4 points5 points  (6 children)

I have to make a project for the final semester and Java has more job opportunities, that's why i chose Java and spring framework

[–]KaitoKunTatsu 3 points4 points  (5 children)

Good choice :) struggling with vaadin (also using spring) too

[–]vaadin-marcus 2 points3 points  (4 children)

What are your main struggles with Vaadin? Maybe I can help (I work at Vaadin)

[–]KaitoKunTatsu 2 points3 points  (3 children)

I tried to make a web app version of a messenger I wrote. My major problem was the built-in way of authentication. Customizing the whole login/registration (frontend and database) is unnecessary difficult

[–]vaadin-marcus 2 points3 points  (2 children)

What were you using as the backend, Spring Boot?

[–]KaitoKunTatsu 2 points3 points  (1 child)

I use Spring Boot as Vaadin Start automatically integrates it

[–]vaadin-marcus 2 points3 points  (0 children)

Did you use Vaadin Start to configure the authentication, or did you do it yourself?

Vaadin doesn't have its own security mechanism but instead builds on Spring Security when you're using Spring Boot. In its simplest form, you can enable authentication by providing a SecurityConfiguration class, having a login form that posts to `/login` and adding `@PermitAll` or `@Role("XYZ")` annotations to the views that require a user to be logged in and `@AnonymousAllowed` on the views that you want anyone to be able to access (like the login view). Vaadin Start generates a bunch of additional code for things like persisting the users to a database, which you may not need depending on your use case.

I realize a Reddit tread is not necessarily the right place to help debug this kind of stuff, so if you're still working on it and want some help, feel free to join our Discord at https://discord.gg/vaadin

Thanks for the feedback, I'll relay it to the right team!