usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rockers...@apache.org
Subject [5/6] incubator-usergrid git commit: add clear token
Date Tue, 06 Jan 2015 04:44:08 GMT
add clear token


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/1404292b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/1404292b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/1404292b

Branch: refs/heads/two-dot-o
Commit: 1404292b9e9656d43848bea683cea3b650dec80a
Parents: 80b093f
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Mon Jan 5 19:01:18 2015 -0700
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Mon Jan 5 19:01:18 2015 -0700

----------------------------------------------------------------------
 .../rest/test/resource2point0/endpoints/TokenResource.java       | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/1404292b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/TokenResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/TokenResource.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/TokenResource.java
index 22224ed..c7c5367 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/TokenResource.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/TokenResource.java
@@ -53,5 +53,9 @@ public class TokenResource extends NamedResource {
         this.context.setToken(token);
         return this;
     }
+    public TokenResource clearToken() {
+        this.context.setToken(null);
+        return this;
+    }
 
 }


Mime
View raw message