-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
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?
CookieManager cookiemanager = LoginUtils.loginFormBasedJ2EE(baseURL, "username", "password");
SyncProxy.setBaseURL(baseURL,cookiemanager);
StandardDispatchService rpcService = SyncProxy.createProxy(StandardDispatchService.class,
new ProxySettings().setCookieManager(cookiemanager));
Reactions are currently unavailable