Ok I tough you wanted to make XWiki authenticate with some credentials
stored in another database.
If your use case is having several applications, including XWiki, use the
same credentials it depends a lot how configurable other (present and
future) applications are in your network.
= Use XWiki as reference
It would be simpler to use HTTP basic auth to validate credential on XWiki
because the way user/password are stored in the database is really not very
friendly for use cases like this. The password is a crypted object property
stored in the user profile making it quite a pain manipulate from pure
database point of view.
Another idea is to make your XWiki instance an OpenID Connect provider
using
http://extensions.xwiki.org/xwiki/bin/view/Extension/OpenID%20Connect/OpenIā¦
and configure application to authenticate trough OpenID Connect on the
XWiki instance.
= Use another application as reference
Usually means writing your own custom XWiki authenticator or use generic
stuff like
http://extensions.xwiki.org/xwiki/bin/view/Extension/
XWiki%20Authenticator%20JDBC
= Use a dedicated credential directory like LDAP as reference
This means using an authenticator like the LDAP one on XWiki side and
configuring other applications to connect to LDAP as well.
On Thu, May 4, 2017 at 11:53 AM, tadewos somano <tadewos85(a)gmail.com> wrote:
Hi Thoms,
Thank you.I tried to see description of your plug-in. But I don't think
there is table named users and columns named name, password,email(If I am
wrong I am happy if you tell me the table).
The point of my question is to know table name, user column, password
column,...so that I can use for my purpose.
Best,
*Tadewos *
On Thu, May 4, 2017 at 11:14 AM, Thomas Mortagne <
thomas.mortagne(a)xwiki.com>
wrote:
You might be interested by
http://extensions.xwiki.org/xwiki/bin/view/Extension/
XWiki%20Authenticator%20JDBC
.
On Thu, May 4, 2017 at 11:03 AM, tadewos somano <tadewos85(a)gmail.com>
wrote:
Hello Xwikiers,
I need to import xwiki's user and password credentials to database of
other
application to configure single sign on in
tomcat. How can I verify
user/password from xwiki database.
I am using mysql database.
Thank you in advance.
Best,
Tadewos
--
Thomas Mortagne
--
Thomas Mortagne