Set the right gcube-bom
This commit is contained in:
parent
0adf0f86e5
commit
4423cf7434
2
pom.xml
2
pom.xml
|
@ -20,7 +20,7 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-bom</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<version>3.0.0-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
|
|
@ -183,7 +183,6 @@ public class DefaultKeycloakClient implements KeycloakClient {
|
|||
request = GXHTTPStringRequest.newRequest(tokenURL.toString())
|
||||
.header("Content-Type", "application/x-www-form-urlencoded").withBody(queryString);
|
||||
|
||||
request.isExternalCall(true);
|
||||
if (authorization != null) {
|
||||
logger.debug("Adding authorization header as: {}", authorization);
|
||||
request = request.header("Authorization", authorization);
|
||||
|
@ -280,7 +279,6 @@ public class DefaultKeycloakClient implements KeycloakClient {
|
|||
request = GXHTTPStringRequest.newRequest(tokenURL.toString()).header("Content-Type",
|
||||
"application/x-www-form-urlencoded").withBody(queryString);
|
||||
|
||||
request.isExternalCall(true);
|
||||
} catch (Exception e) {
|
||||
throw new KeycloakClientException("Cannot construct the request object correctly", e);
|
||||
}
|
||||
|
@ -336,7 +334,6 @@ public class DefaultKeycloakClient implements KeycloakClient {
|
|||
request = GXHTTPStringRequest.newRequest(introspectionURL.toString()).header("Content-Type",
|
||||
"application/x-www-form-urlencoded").withBody(queryString);
|
||||
|
||||
request.isExternalCall(true);
|
||||
request = request.header("Authorization", constructBasicAuthenticationHeader(clientId, clientSecret));
|
||||
} catch (Exception e) {
|
||||
throw new KeycloakClientException("Cannot construct the request object correctly", e);
|
||||
|
|
Loading…
Reference in New Issue