From bf1aa37f6af0a8152093b425dcf9dec17d56705e Mon Sep 17 00:00:00 2001 From: "lucio.lelii" Date: Thu, 21 Mar 2019 16:16:39 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/oauth@178647 82a268e6-3cf1-43bd-a215-b396298e98cf --- src/main/java/org/gcube/portal/oauth/OauthService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portal/oauth/OauthService.java b/src/main/java/org/gcube/portal/oauth/OauthService.java index 786654d..b183760 100644 --- a/src/main/java/org/gcube/portal/oauth/OauthService.java +++ b/src/main/java/org/gcube/portal/oauth/OauthService.java @@ -181,7 +181,7 @@ public class OauthService { if (clientId == null) credentials = getCredentialFromBasicAuthorization(request); else if (request.getHeader(AUTHORIZATION_HEADER)!=null) - throw new Exception("he client MUST NOT use more than one authentication method"); + throw new Exception("the client MUST NOT use more than one authentication method"); logger.info("Params are client_id = " + credentials.getClientId() + ", client_secret = " + credentials.getClientSecret() + "*******************"+ ", redirect_uri = " +redirectUri + ", code = " + code + "*******************" + ", grant_type = " + grantType);