Revision: 9371
Author: [email protected]
Date: Tue Dec 7 16:17:42 2010
Log: Add notes on issue 5564, getting RF out of the user auth business
http://code.google.com/p/google-web-toolkit/source/detail?r=9371
Modified:
/wiki/RequestFactory_2_1_1.wiki
=======================================
--- /wiki/RequestFactory_2_1_1.wiki Tue Nov 30 13:45:20 2010
+++ /wiki/RequestFactory_2_1_1.wiki Tue Dec 7 16:17:42 2010
@@ -41,13 +41,20 @@
* The `ProxyStore` API is essentially a string:string map and it
would be trivial to write a implementation based on an HTML `Storage`
object.
* *New API* The `DefaultProxyStore` is a simple in-memory store that
can encode its contents into a JSON object literal.
* It would be possible to pre-seed a host page using this store.
-
-= What's in review =
* (Issue 5680) *New API* `ServiceLocator` API to allow `Request` methods
to be invoked on non-static methods.
* The `...@service` and `...@servicename` annotations now have an optional
`locator` value that specifies a `ServiceLocator` which will provide a
service object instance.
+ * (Issue 5675) Subtypes of `java.util.Date` cause exceptions
+
+= What's in review =
+
+ * (Issue 5564) RF has bad handling of SC_UNAUTHORIZED
+ * *API Break* The `RequestEvent`; `UserInformation` and related
proxies, requests and services; `AuthenticationFailureHandler` and
`LoginWidget` were hacky work arounds for the lack of value objects and a
service layer, and have been deleted. For the same reason,
`DefaultRequestTransport` no longer takes an `EventBus` constructor
argument.
+ * *API Break* `TransportReceiver#onTransportFailure(ServerFailure)`
replaces `TransportReceiver#onTransportFailure(String)`, to give custom
transports useful error reporting.
+ * *API Break* `ServerFailure` now has a boolean `isFatal()` method
(usually true), which `Request#onFailure` checks before throwing a
RuntimeException
+ * The Expenses sample has been extended to show how to handle user
authentication in the wake of these changes. It's easier now, and more
flexible.
= What's coming =
- * (Issue 5675) Subtypes of `java.util.Date` cause exceptions
+ * That's it!
= Add to 2.1.1 smoke testing =
* The server components of RequestFactory have been completely rewritten.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors