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
7379ac86
Commit
7379ac86
authored
Oct 07, 2014
by
Roman S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User Service plugin update to 2.0.1
- Fixed the problem that authentication type was not saved
parent
49ebcaac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
changelog.html
src/plugins/userservice/changelog.html
+7
-1
plugin.xml
src/plugins/userservice/plugin.xml
+2
-2
UserServicePlugin.java
...a/org/jivesoftware/openfire/plugin/UserServicePlugin.java
+5
-1
No files found.
src/plugins/userservice/changelog.html
View file @
7379ac86
...
...
@@ -43,9 +43,15 @@
<h1>
User Service Plugin Changelog
</h1>
<p><b>
2.0.1
</b>
-- October 7th, 2014
</p>
<ul>
<li>
Fixed the problem that authentication type was not saved
</li>
</ul>
<p><b>
2.0.0
</b>
-- October 4th, 2014
</p>
<ul>
<li>
New restfull API (see readme). The plugin is backward compatible
.
</li>
<li>
New restfull API (see readme). The plugin is backward compatible
</li>
<li>
Added new requst to get all or specific users
</li>
<li>
The user is now extendible with key / values properties
</li>
<li>
Added new requst to get roster entries of a specific users
</li>
...
...
src/plugins/userservice/plugin.xml
View file @
7379ac86
...
...
@@ -5,8 +5,8 @@
<name>
User Service
</name>
<description>
Allows administration of users via HTTP requests.
</description>
<author>
Roman Soldatow, Justin Hunt
</author>
<version>
2.0.
0
</version>
<date>
10/0
4
/2014
</date>
<version>
2.0.
1
</version>
<date>
10/0
7
/2014
</date>
<minServerVersion>
3.9.0
</minServerVersion>
<adminconsole>
...
...
src/plugins/userservice/src/java/org/jivesoftware/openfire/plugin/UserServicePlugin.java
View file @
7379ac86
...
...
@@ -438,7 +438,7 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
public
void
setHttpBasicAuth
(
boolean
httpBasicAuth
)
{
this
.
httpBasicAuth
=
httpBasicAuth
;
JiveGlobals
.
setProperty
(
"plugin.userservice.httpAuth.enabled"
,
enabled
?
"true"
:
"false"
);
JiveGlobals
.
setProperty
(
"plugin.userservice.httpAuth.enabled"
,
httpBasicAuth
?
"true"
:
"false"
);
}
public
void
propertySet
(
String
property
,
Map
<
String
,
Object
>
params
)
{
...
...
@@ -448,6 +448,8 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
this
.
enabled
=
Boolean
.
parseBoolean
((
String
)
params
.
get
(
"value"
));
}
else
if
(
property
.
equals
(
"plugin.userservice.allowedIPs"
))
{
this
.
allowedIPs
=
StringUtils
.
stringToCollection
((
String
)
params
.
get
(
"value"
));
}
else
if
(
property
.
equals
(
"plugin.userservice.httpAuth.enabled"
))
{
this
.
httpBasicAuth
=
Boolean
.
parseBoolean
((
String
)
params
.
get
(
"value"
));
}
}
...
...
@@ -458,6 +460,8 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
this
.
enabled
=
false
;
}
else
if
(
property
.
equals
(
"plugin.userservice.allowedIPs"
))
{
this
.
allowedIPs
=
Collections
.
emptyList
();
}
else
if
(
property
.
equals
(
"plugin.userservice.httpAuth.enabled"
))
{
this
.
httpBasicAuth
=
false
;
}
}
...
...
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