Commit af0d6764 authored by Nico Mack's avatar Nico Mack

Minor changes to handling of authentication

parent c2f3d3b5
......@@ -184,6 +184,11 @@
<artifactId>oauth2-client</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-sse</artifactId>
<version>${jersey.version}</version>
</dependency>
</dependencies>
<repositories>
......
......@@ -82,7 +82,7 @@ public class WebServiceConnector extends Connector<Client> {
try {
if (StringUtils.isNoneBlank(this.token)) {
Feature authentication = OAuth2ClientSupport.feature(this.token);
client = client.register(authentication);
client.register(authentication);
}
} catch (IllegalArgumentException exception) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment