Thank you Thomas,
I have one application and xwiki, both deployed inside tomcat container.
The default page is the other application, not xwiki. Xwiki is included
with hiperlink in the other application.The public(without need to login)
can click the link to Xwiki and be  redirected to xwiki collaborative
platform.
What I have now is both xwiki and the other application need separate
login, registration, etc. And they use different databases.But both in the
same container, in the same machine and use mysql.
I want username and password credentials of both xwiki and the other
application to be synchronized so that if a user logs in either xwiki or
the other application should not be requested for an other login(Single
Sign on) during a session.(The other application is php based(joomla)
application)
And from the link you sent me, I don't see any tip for this problem of
mine.
So do you have any suggestion?




*Tadewos *
<https://nl.linkedin.com/pub/tadewos-somano/1a/217/679>




On Thu, May 4, 2017 at 1:44 PM, Thomas Mortagne <thomas.morta...@xwiki.com>
wrote:

> 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/OpenID%20Connect%20Provider/
> 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 <tadewo...@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.morta...@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 <tadewo...@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
>

Reply via email to