Permalink
Browse files

Talk about the LoginWidget

  • Loading branch information...
1 parent bba13ab commit a222df6bbd6e27f039caa5ab29c1898550b18585 @atoy40 committed Feb 24, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
@@ -1,7 +1,7 @@
# Usage
### Server
-Add the CAS filters in you web.xml except the AuthenticationFilter.
+Add the CAS filters in you web.xml except the `AuthenticationFilter`.
<pre>
&lt;filter&gt;
@@ -62,6 +62,7 @@ Extends your own RequestFactory interface with MakeCasRequest :
public interface MyRequestFactory extends MakeCasRequest {
}
</pre>
+
Use the when as RequestTransport when you initialize your RF instance :
<pre>
MyRequestFactory rf = GWT.create(MyRequestFactory.class);
@@ -80,6 +81,8 @@ request.getCurrentUser().to(new Receiver<CasUserProxy>() {
request.fire();
</pre>
+You can also use the simple but embedded widget `LoginWidget`
+
# Maven repositories
Latest release (for GWT 2.4):

0 comments on commit a222df6

Please sign in to comment.