Open krissvaa opened 5 months ago
Could be that it was a mistake and Default Spring implementation should be used?
I think so. There should be nothing Hilla specific in setting up AuthenticationManager with an SQL database.
This example can be based directly on Spring Security, or even be replaced with a link to the Spring Security documentation.
SQL Authentication example in Hilla docs doesn't work as
@Override protected void configure(AuthenticationManagerBuilder auth)
as such method doesn't exist inVaadinWebSecurity
https://hilla.dev/docs/lit/guides/security/spring-login#sql-authentication (same for LDAP)
Could be that it was a mistake and Default Spring implementation should be used? https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter#jdbc-authentication