wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From el...@apache.org
Subject svn commit: r815279 - /incubator/wink/trunk/wink-examples/client/GoogleDocs-client/src/main/java/org/apache/wink/example/googledocs/GoogleDocsClient.java
Date Tue, 15 Sep 2009 11:36:31 GMT
Author: elman
Date: Tue Sep 15 11:36:31 2009
New Revision: 815279

URL: http://svn.apache.org/viewvc?rev=815279&view=rev
Log:
revert to 801788

Modified:
    incubator/wink/trunk/wink-examples/client/GoogleDocs-client/src/main/java/org/apache/wink/example/googledocs/GoogleDocsClient.java

Modified: incubator/wink/trunk/wink-examples/client/GoogleDocs-client/src/main/java/org/apache/wink/example/googledocs/GoogleDocsClient.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-examples/client/GoogleDocs-client/src/main/java/org/apache/wink/example/googledocs/GoogleDocsClient.java?rev=815279&r1=815278&r2=815279&view=diff
==============================================================================
--- incubator/wink/trunk/wink-examples/client/GoogleDocs-client/src/main/java/org/apache/wink/example/googledocs/GoogleDocsClient.java
(original)
+++ incubator/wink/trunk/wink-examples/client/GoogleDocs-client/src/main/java/org/apache/wink/example/googledocs/GoogleDocsClient.java
Tue Sep 15 11:36:31 2009
@@ -78,10 +78,7 @@
         }
 
         // add google authentication handler
-//        config.handlers(new GoogleAuthHandler(cliHelper.getEmail(), cliHelper.getPassword()));
-        APSHandler apsHandler = new APSHandler();
-        apsHandler.setChallenge("GoogleLogin");
-        config.handlers(apsHandler);
+        config.handlers(new GoogleAuthHandler(cliHelper.getEmail(), cliHelper.getPassword()));
         restClient = new RestClient(config);
         this.cliHelper = cliHelper;
     }



Mime
View raw message