Z4pstkln
Server, System Properties
Plugin.userservice.enabled value is True
Add Users
9090/plugins/userservice/userservice?
Type=add&secret=z4pstkln&username= Users
&password=123&name=admin&email=123123
Add a user and put the user in the group
9090/plugins/userservice/userservice?
Type=add&secret=z4pstkln&username=kafka&password=drowssap
&name=franz&[email Protected]&groups=admin
Get all user groups
9090/plugins/userservice/userservice?
Type=grouplist&secret=z4pstkln
Delete users in a group
9090/plugins/userservice/userservice?
Type=delete&secret=z4pstkln&username=kafka
By adding a user and putting users in groups and deleting groups, users can create a new
Groups of
By deleting the group in the Ofgroup in the database and creating a new group, it is possible to delete
A group, but this is not flexible and you cannot create a group with the same name again
Delete all data for a user
9090/plugins/userservice/userservice?
Type=delete&secret=z4pstkln&username= Wang Zhengdong
9090/plugins/userservice/userservice?
type=grouplist&secret=z4pstkln&group= Wang Zhengdong
If you want to put existing users in the group, you need to update
9090/plugins/userservice/userservice?
Type=update&secret=z4pstkln&groups=admin
Grouping can be deleted from the database, but there is a cache that is not immediately displayed in the console
On the page
The table data to be deleted are Ofgroup, Ofgroupprop, Ofgroupuser, respectively.
Restarting OpenFire will speed this up.
OpenFire User Service and delete group methods