usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject [06/50] [abbrv] usergrid git commit: Disable new token generation on get user details.
Date Mon, 01 Aug 2016 16:53:41 GMT
Disable new token generation on get user details.


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

Branch: refs/heads/master
Commit: 8d79d365c8bc2387086bdaa72fff13de205ea94e
Parents: 3764234
Author: Michael Russo <mrusso@apigee.com>
Authored: Wed Jul 6 14:58:00 2016 -0700
Committer: Michael Russo <mrusso@apigee.com>
Committed: Wed Jul 6 14:58:00 2016 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/rest/management/users/UserResource.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/8d79d365/stack/rest/src/main/java/org/apache/usergrid/rest/management/users/UserResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/management/users/UserResource.java
b/stack/rest/src/main/java/org/apache/usergrid/rest/management/users/UserResource.java
index e431579..36dbdde 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/management/users/UserResource.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/management/users/UserResource.java
@@ -195,9 +195,9 @@ public class UserResource extends AbstractContextResource {
         ApiResponse response = createApiResponse();
         response.setAction( "get admin user" );
 
-        String token = management.getAccessTokenForAdminUser( user.getUuid(), ttl );
+        //String token = management.getAccessTokenForAdminUser( user.getUuid(), ttl );
         Map<String, Object> userOrganizationData = management.getAdminUserOrganizationData(
user, !shallow );
-        userOrganizationData.put( "token", token );
+        //userOrganizationData.put( "token", token );
         response.setData( userOrganizationData );
         response.setSuccess();
 


Mime
View raw message