spring-vaadin icon indicating copy to clipboard operation
spring-vaadin copied to clipboard

Spring Security integration not compatible with Vaadin @Push streaming

Open shoe54 opened this issue 11 years ago • 4 comments

I am running the Vaadin Spring Security sample from https://github.com/xpoft/vaadin-samples/tree/master/spring-security

I added a @Push(transport=Transport.STREAMING) annotation to the MyUI class. I am able to log in but I get weird navigation behaviour, for example if I go into a user view, then clicking on the Go Back button does nothing. Removing the @Push solves the issue, but I need to be able to use Vaadin Push with Spring Security.

shoe54 avatar Oct 30 '13 21:10 shoe54

+1

anybody?

ghost avatar Sep 22 '14 14:09 ghost

I am using vaadin + Spring + Shiro, when I added a @push annotation to MyUI class it yields a infinite loop printing

vaadin.SpringUIProvider (SpringUIProvider.java:66) - found BEAN_NAME_PARAMETER: ui"

and browser(chrome) show this error

 WebSocket connection to 'ws://localhost:8080/PUSH/?v-uiId=0&v-csrfToken=19ca4a90-e6fb-4e56-8db5-856350111db8&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.2.6.vaadin3-jquery&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&Content-Type=application/json;%20charset=UTF-8&X-atmo-protocol=true' failed: Error during WebSocket handshake: Unexpected response code: 302

anybody with same trouble?

jvalenciag avatar Feb 01 '15 22:02 jvalenciag

+1

dkpavlov avatar Mar 16 '15 10:03 dkpavlov

+1

ajgassner avatar Mar 25 '15 17:03 ajgassner