Export Icons don´t appear with VaadinWebSecurity

Hi, I need help, in a project with vaadin 24.8.3, java 21 and grid-exporter-addon 2.5.2, the export icons appear correctly in the grid footer, but when I use VaadinWebSecurity they do not appear, I need help to solve this problem.

If something is not being shown after you add VaadinWebSecurity, then something is probably wrong with the security configuration. One thing that you could try is to create a new application at start.vaadin.com with security enabled, and then compare the security configuration with yours to see if there is a difference, if you don’t see any difference, try adding the grid exporter to that application and see if it works in there.

I created a project with the starter and enabled security, but the icons still don’t appear. When I pass the mouse, the export links exist and execute. Is there a specific folder where the icons are stored so I can add them to the security permissions?

Hello, I think the problem has to do with missing com.flowingcode as allowed package in your application.properties file. You should have something like this:

vaadin.allowed-packages = com.vaadin,org.vaadin,com.flowingcode

See more information here.

Great, this solution worked, thanks a lot for the help!!!

1 Like