usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [47/68] [abbrv] incubator-usergrid git commit: USERGRID-457 - Add explicit Content-Length of 0 for POST request with no body.
Date Fri, 17 Apr 2015 22:47:52 GMT
USERGRID-457 - Add explicit Content-Length of 0 for POST request with no body.

Conflicts:
	stack/services/src/main/java/org/apache/usergrid/security/providers/PingIdentityProvider.java


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

Branch: refs/heads/two-dot-o-dev
Commit: aadcf4cf4a5e520d6eedeffa5bc9e3b2ccb1fa73
Parents: a7c6397
Author: Michael Russo <mrusso@apigee.com>
Authored: Thu Mar 19 20:12:45 2015 -0700
Committer: ryan bridges <rbridges@apigee.com>
Committed: Mon Mar 23 12:00:06 2015 -0400

----------------------------------------------------------------------
 .../apache/usergrid/security/providers/PingIdentityProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/aadcf4cf/stack/services/src/main/java/org/apache/usergrid/security/providers/PingIdentityProvider.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/security/providers/PingIdentityProvider.java
b/stack/services/src/main/java/org/apache/usergrid/security/providers/PingIdentityProvider.java
index cc2fe6f..0d01fe7 100644
--- a/stack/services/src/main/java/org/apache/usergrid/security/providers/PingIdentityProvider.java
+++ b/stack/services/src/main/java/org/apache/usergrid/security/providers/PingIdentityProvider.java
@@ -129,7 +129,7 @@ public class PingIdentityProvider extends AbstractProvider {
                               .header("Content-Length", "0")
                               .post( JsonNode.class );
 
-        String rawEmail = node.get( "access_token" ).get( "subject" ).getTextValue();
+        String rawEmail = node.get( "access_token" ).get( "subject" ).asText();
 
         Map<String, Object> userMap = new HashMap<String, Object>();
         userMap.put( "expiration", node.get( "expires_in" ).getLongValue() );


Mime
View raw message