Commit 27686cd2 authored by daryl herzmann's avatar daryl herzmann

Merge pull request #77 from Redor/openfire

User service plugin update to 2.0.2
parents 1d714158 d58f29ea
...@@ -44,6 +44,11 @@ ...@@ -44,6 +44,11 @@
User Service Plugin Changelog User Service Plugin Changelog
</h1> </h1>
<p><b>2.0.2</b> -- October 8th, 2014</p>
<ul>
<li>Fixed the problem with backward compatibility to user service 1.*</li>
</ul>
<p><b>2.0.1</b> -- October 7th, 2014</p> <p><b>2.0.1</b> -- October 7th, 2014</p>
<ul> <ul>
<li>Fixed the problem that authentication type was not saved</li> <li>Fixed the problem that authentication type was not saved</li>
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<name>User Service</name> <name>User Service</name>
<description>Allows administration of users via HTTP requests.</description> <description>Allows administration of users via HTTP requests.</description>
<author>Roman Soldatow, Justin Hunt</author> <author>Roman Soldatow, Justin Hunt</author>
<version>2.0.1</version> <version>2.0.2</version>
<date>10/07/2014</date> <date>10/08/2014</date>
<minServerVersion>3.9.0</minServerVersion> <minServerVersion>3.9.0</minServerVersion>
<adminconsole> <adminconsole>
......
...@@ -64,6 +64,11 @@ public class AuthFilter implements ContainerRequestFilter { ...@@ -64,6 +64,11 @@ public class AuthFilter implements ContainerRequestFilter {
} }
} }
// To be backwards compatible to userservice 1.*
if ("userService/userservice".equals(containerRequest.getPath())) {
return containerRequest;
}
// Get the authentification passed in HTTP headers parameters // Get the authentification passed in HTTP headers parameters
String auth = containerRequest.getHeaderValue("authorization"); String auth = containerRequest.getHeaderValue("authorization");
......
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