xpoft / spring-vaadin

Spring and Vaadin integration
Other
55 stars 44 forks source link

Spring Security integration not compatible with Vaadin @Push streaming #29

Open shoe54 opened 11 years ago

shoe54 commented 11 years ago

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.

ghost commented 10 years ago

+1

anybody?

jvalenciag commented 9 years ago

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?

dkpavlov commented 9 years ago

+1

ajgassner commented 9 years ago

+1