integrating LDAP I have not done. others have in the forums and there are a few guides available if you search for LDAP integration. I believe user Speedy has made a reletively updated guide.
Yes that I have done.I have done that (click user tab then create user)
Only those users are shown that are created via openfir admin UI.But I want to know how to show users that are already created and stored in my database
openfire has it’s own database that you setup for it by following the install guide. MySQL is a database server, openfire uses a database contained in MySQL called “openfire”. You should not create a new database called the same thing. Openfire does a lot of database caching, so manually manipulating the tables may have unexpected results.
If you are trying to programmically add users to Openfire, I would check out one of the plugins and see how they are going about doing this. There is the User Creation plugin, and also the User Import Export plugin. Both may have examples of how to programmically add users to Openfire.
You could also look at Openfire’s source code and see how it creates users when the UI buttons are clicked, etc.
The XML you are refering to is not for the purpose of mapping users into Openfire.