Tuesday, July 30, 2013

Re: detect sop violation from gwt rpc client

You can extend DefaultRequestTransport to gain access to the raw server response. You then have to set your custom RequestTransport into your GWT-RPC services by casting them into ServiceDefTarget.

You should check if all browsers supported by your app set the location header in case of a SOP violation. Maybe some don't. Maybe some other browsers also sets the location header in cases of network outage. Your solution may not be 100% reliable. 

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment