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
9217686a
Commit
9217686a
authored
Oct 03, 2017
by
Anno van Vliet
Committed by
daryl herzmann
Oct 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UserImportExport plugin: users are created (#886)
When using the non-XEP import.
parent
90bfee79
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
changelog.html
src/plugins/userImportExport/changelog.html
+5
-0
plugin.xml
src/plugins/userImportExport/plugin.xml
+2
-2
pom.xml
src/plugins/userImportExport/pom.xml
+1
-1
OpenfireExporter.java
...va/org/jivesoftware/openfire/plugin/OpenfireExporter.java
+2
-2
No files found.
src/plugins/userImportExport/changelog.html
View file @
9217686a
...
...
@@ -148,6 +148,11 @@ hr {
</div>
<div
id=
"pageBody"
>
<p><b>
2.6.2
</b>
-- October 2, 2017
</p>
<ul>
<li>
User is created, when not there.
</li>
</ul>
<p><b>
2.6.1
</b>
-- June 22, 2017
</p>
<ul>
<li>
[
<a
href=
'http://www.igniterealtime.org/issues/browse/OF-1355'
>
OF-1355
</a>
] - UserImportExport plugin: import should not fail when optional config is missing.
</li>
...
...
src/plugins/userImportExport/plugin.xml
View file @
9217686a
...
...
@@ -6,8 +6,8 @@
<name>
User Import Export
</name>
<description>
Enables import and export of user data
</description>
<author>
Ryan Graham
</author>
<version>
2.6.
1
</version>
<date>
06/2
2/2017
</date>
<version>
2.6.
2
</version>
<date>
10/0
2/2017
</date>
<minServerVersion>
4.0.0
</minServerVersion>
<adminconsole>
...
...
src/plugins/userImportExport/pom.xml
View file @
9217686a
...
...
@@ -8,7 +8,7 @@
</parent>
<groupId>
org.igniterealtime.openfire.plugins
</groupId>
<artifactId>
userImportExport
</artifactId>
<version>
2.6.
1
</version>
<version>
2.6.
2
</version>
<name>
UserImportExport Plugin
</name>
<description>
Enables import and export of user data
</description>
...
...
src/plugins/userImportExport/src/java/org/jivesoftware/openfire/plugin/OpenfireExporter.java
View file @
9217686a
...
...
@@ -232,11 +232,11 @@ public class OpenfireExporter implements InExporter {
}
}
if
(
(
userName
!=
null
)
&&
(
password
!=
null
)
)
{
if
(
userName
!=
null
)
{
try
{
userName
=
Stringprep
.
nodeprep
(
userName
);
if
(
isUserProviderReadOnly
)
{
if
(
!
isUserProviderReadOnly
&&
(
password
!=
null
)
)
{
userManager
.
createUser
(
userName
,
password
,
name
,
email
);
}
...
...
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