Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Repository configuration with Vaadin managed security
Hi All,
I have the following problem with the Vaadin Managed Security.
I have everything configured as described in the sample application, with
@SpringBootApplication(exclude = org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class)
@EnableVaadinManagedSecurity
However in my applicatinon I have configuration class for my repositories:
@Configuration
@EnableAutoConfiguration
@EntityScan(basePackages = {"com.domain.entities"})
@EnableJpaRepositories(basePackages = {"com.domain.repositories"})
@EnableTransactionManagement
public class RepositoryConfiguration { }
If this configuration is enabled then whatever page I want to load ends up in unauthorized access error page.
When I comment out the configuration it takes me correctly to the login page and seems to work fine.
What should I do if I want to keep my repository configuration and enable security?