You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/12/12 09:48:17 UTC
[openmeetings] branch master updated: [OPENMEETINGS-1970]
additional logging is added
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new a311bb5 [OPENMEETINGS-1970] additional logging is added
a311bb5 is described below
commit a311bb564f834d936a683f2bf7ef73da8a2c8234
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Wed Dec 12 16:47:49 2018 +0700
[OPENMEETINGS-1970] additional logging is added
---
.../main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
index 4068153..dcd9102 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
@@ -289,9 +289,10 @@ public class SignInPage extends BaseInitedPage {
connection.setRequestMethod(server.getRequestInfoMethod().name());
}
prepareConnection(connection);
- String sourceResponse = IOUtils.toString(connection.getInputStream(), UTF_8);
+ String json = IOUtils.toString(connection.getInputStream(), UTF_8);
+ log.debug("User info={}", json);
// parse json result
- return new OAuthUser(sourceResponse, server);
+ return new OAuthUser(json, server);
}
private void loginViaOAuth2(OAuthUser user, long serverId) throws IOException, NoSuchAlgorithmException {