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 2019/02/06 15:42:17 UTC

[openmeetings] branch master updated: [OPENMEETINGS-2012] bearer in Authorization header is camel case now

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 a2b7c5e  [OPENMEETINGS-2012] bearer in Authorization header is camel case now
a2b7c5e is described below

commit a2b7c5e1ed3b65dbe45f6d8eeac2de4eb08fb891
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Wed Feb 6 22:41:21 2019 +0700

    [OPENMEETINGS-2012] bearer in Authorization header is camel case now
---
 .../main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 44693ae..0d7c8e2 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
@@ -283,7 +283,7 @@ public class SignInPage extends BaseInitedPage {
 		// send request
 		HttpURLConnection connection = (HttpURLConnection) new URL(requestInfoUrl).openConnection();
 		if (server.getRequestInfoMethod() == RequestInfoMethod.HEADER) {
-			connection.setRequestProperty("Authorization", String.format("bearer %s", authInfo.accessToken));
+			connection.setRequestProperty("Authorization", String.format("Bearer %s", authInfo.accessToken));
 		} else {
 			connection.setRequestMethod(server.getRequestInfoMethod().name());
 		}