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
1d714158
Commit
1d714158
authored
Oct 07, 2014
by
daryl herzmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76 from Redor/openfire
User Service plugin update to 2.0.1
parents
f839625a
7379ac86
Changes
3
Show 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 @
1d714158
...
@@ -43,9 +43,15 @@
...
@@ -43,9 +43,15 @@
<h1>
<h1>
User Service Plugin Changelog
User Service Plugin Changelog
</h1>
</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>
<p><b>
2.0.0
</b>
-- October 4th, 2014
</p>
<ul>
<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>
Added new requst to get all or specific users
</li>
<li>
The user is now extendible with key / values properties
</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>
<li>
Added new requst to get roster entries of a specific users
</li>
...
...
src/plugins/userservice/plugin.xml
View file @
1d714158
...
@@ -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.
0
</version>
<version>
2.0.
1
</version>
<date>
10/0
4
/2014
</date>
<date>
10/0
7
/2014
</date>
<minServerVersion>
3.9.0
</minServerVersion>
<minServerVersion>
3.9.0
</minServerVersion>
<adminconsole>
<adminconsole>
...
...
src/plugins/userservice/src/java/org/jivesoftware/openfire/plugin/UserServicePlugin.java
View file @
1d714158
...
@@ -438,7 +438,7 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
...
@@ -438,7 +438,7 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
public
void
setHttpBasicAuth
(
boolean
httpBasicAuth
)
{
public
void
setHttpBasicAuth
(
boolean
httpBasicAuth
)
{
this
.
httpBasicAuth
=
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
)
{
public
void
propertySet
(
String
property
,
Map
<
String
,
Object
>
params
)
{
...
@@ -448,6 +448,8 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
...
@@ -448,6 +448,8 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
this
.
enabled
=
Boolean
.
parseBoolean
((
String
)
params
.
get
(
"value"
));
this
.
enabled
=
Boolean
.
parseBoolean
((
String
)
params
.
get
(
"value"
));
}
else
if
(
property
.
equals
(
"plugin.userservice.allowedIPs"
))
{
}
else
if
(
property
.
equals
(
"plugin.userservice.allowedIPs"
))
{
this
.
allowedIPs
=
StringUtils
.
stringToCollection
((
String
)
params
.
get
(
"value"
));
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 {
...
@@ -458,6 +460,8 @@ public class UserServicePlugin implements Plugin, PropertyEventListener {
this
.
enabled
=
false
;
this
.
enabled
=
false
;
}
else
if
(
property
.
equals
(
"plugin.userservice.allowedIPs"
))
{
}
else
if
(
property
.
equals
(
"plugin.userservice.allowedIPs"
))
{
this
.
allowedIPs
=
Collections
.
emptyList
();
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