Added user info web-service (solved #566)
Change-Id: I2f0d2c4866698608c18ba665a5d6405e170a5d5f
diff --git a/core/Changes b/core/Changes
index 55f4ec9..cd92fca 100644
--- a/core/Changes
+++ b/core/Changes
@@ -1,6 +1,7 @@
# version 0.69.4
- Support token array in matchinfo (fixes #570; diewald)
+- Added user info web-service (solved #566)
# version 0.69.3
diff --git a/core/src/main/java/de/ids_mannheim/korap/authentication/http/HttpAuthorizationHandler.java b/core/src/main/java/de/ids_mannheim/korap/authentication/http/HttpAuthorizationHandler.java
index 2470d4e..241e9ce 100644
--- a/core/src/main/java/de/ids_mannheim/korap/authentication/http/HttpAuthorizationHandler.java
+++ b/core/src/main/java/de/ids_mannheim/korap/authentication/http/HttpAuthorizationHandler.java
@@ -38,7 +38,7 @@
"Cannot parse authorization header value "
+ authorizationHeader
+ ". Use this format: [authentication "
- + "scheme] [Base64-encoded token]",
+ + "scheme] [authentication token]",
authorizationHeader);
}
diff --git a/core/src/main/java/de/ids_mannheim/korap/constant/OAuth2Scope.java b/core/src/main/java/de/ids_mannheim/korap/constant/OAuth2Scope.java
index b581faf..5055972 100644
--- a/core/src/main/java/de/ids_mannheim/korap/constant/OAuth2Scope.java
+++ b/core/src/main/java/de/ids_mannheim/korap/constant/OAuth2Scope.java
@@ -27,6 +27,8 @@
SERIALIZE_QUERY,
MATCH_INFO,
+ USER_INFO,
+
USER_GROUP_INFO,
CREATE_USER_GROUP,
DELETE_USER_GROUP,