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 <[email protected]>
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());
                }

Reply via email to