-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyncProxy has some issue when the server side is checking cookie and sessionid #46
Comments
Jerry, Thank you, you're absolutely welcome to enhance this feature. I appreciate the assistance. A couple of notes to be aware of: The J2EE for based login method I am working on resolving this issue by updating the code base to utilize OAuth 2.0 as is recommended Issue 45. I have a working solution implemented within the GSP Android library (see the gae-auth branch), which I'm currently working on cleaning up. I'm planning to enhance the Java Login features that you are using in much the same way. The tricky part is that both enhancements require some upgrades to the servlets (Keep an eye on this wiki for examples: https://github.com/jcricket/gwt-syncproxy/wiki/OAuth-2.0-App-Engine-Authentication. Please be aware this wiki is a work in progress). If you, are working this feature, I recommend you look at doing so using OAuth 2.0 (https://developers.google.com/accounts/docs/OAuth2) so that your work is not wasted on a deprecated system. If not, as I said I am working on upgrading the system with OAuth 2.0 credentials, but based on other current work, I don't have a projected release date for these updates (though I am hoping to get it out by the end of April since I am expecting the ClientLogin deprecation to cause significant problems for users). Using the CookieManager may be supported in a down-the-road update to store encrypted session values and the like, but for the current solution, the OAuth 2.0 tokens and such are not utilizing cookies for security reasons (client-side attacks). |
Hi Preethum, I know it's less secure, but in recent months/ year it will not be improved, at least in this system. |
Sounds great, thanks. If you are able to find some links or documentation verifying how this system will work after Google's shutdown period, let me know and I'll add that to the Wiki for other users still using the system as you are to have a reference point. Once you've got it working with some testing, send a PR and I'll look into integrating it into the main branch with the next release. |
Hi,
In our company has product using GWT, and I want to build a Java client for it.
I searched whole network, and find SyncProxy is fit my needs.
But I find some issue with it. If the site is required login(cookieManager). the setBaseURL function doesn't pass the cookie in. So that in the populatePolicyMap function, there are "getResposeText", this is establishing a http connection to server, so if there's no cookie information, the server will always return login page, so we cannot get the wanted files(JS, gwt.rpc etc).
I want to contribute and enhance this feature, is that ok?
The text was updated successfully, but these errors were encountered: