Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
63f5c12a
Commit
63f5c12a
authored
Nov 13, 2015
by
daryl herzmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #373 from Redor/master
Update REST API Plugin to 1.1.7
parents
7a0753ba
575ea98c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
changelog.html
src/plugins/restAPI/changelog.html
+7
-0
plugin.xml
src/plugins/restAPI/plugin.xml
+2
-2
AuthFilter.java
...ava/org/jivesoftware/openfire/plugin/rest/AuthFilter.java
+5
-0
No files found.
src/plugins/restAPI/changelog.html
View file @
63f5c12a
...
...
@@ -44,6 +44,13 @@
REST API Plugin Changelog
</h1>
<p><b>
1.1.7
</b>
-- November 13th, 2015
</p>
<ul>
<li>
Added: Provide the possibility to use a Custom Auth Filter
</li>
<li>
Fixed: Preflight request will be not blocked by Authentication
</li>
<li>
Added: Group names in ChatRoom Entity
</li>
</ul>
<p><b>
1.1.6
</b>
-- September 24th, 2015
</p>
<ul>
<li>
Added: Endpoints to add / remove a user from a user group
</li>
...
...
src/plugins/restAPI/plugin.xml
View file @
63f5c12a
...
...
@@ -5,8 +5,8 @@
<name>
REST API
</name>
<description>
Allows administration over a RESTful API.
</description>
<author>
Roman Soldatow
</author>
<version>
1.1.
6
</version>
<date>
09/24
/2015
</date>
<version>
1.1.
7
</version>
<date>
11/13
/2015
</date>
<minServerVersion>
3.10.0
</minServerVersion>
<adminconsole>
...
...
src/plugins/restAPI/src/java/org/jivesoftware/openfire/plugin/rest/AuthFilter.java
View file @
63f5c12a
...
...
@@ -46,6 +46,11 @@ public class AuthFilter implements ContainerRequestFilter {
throw
new
WebApplicationException
(
Status
.
FORBIDDEN
);
}
// Let the preflight request through the authentication
if
(
"OPTIONS"
.
equals
(
containerRequest
.
getMethod
()))
{
return
containerRequest
;
}
// To be backwards compatible to userservice 1.*
if
(
"restapi/v1/userservice"
.
equals
(
containerRequest
.
getPath
()))
{
return
containerRequest
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment