Thanks, I was able to set it up successfully.

I want to check if the currently logged-in user ($xwiki.getUser()) is a
member of a particular LDAP group. What is the best way to do this with the
"Trusted LDAP" setup?

*Option 1:*
I could map the LDAP groups to XWiki groups.

*Option 2:*
Can I do this dynamically without having to map the LDAP groups? (i.e. is
there an easy way to check if a user belongs to an LDAP group without
having to map the LDAP group to an XWiki group?)


On Fri, Sep 18, 2015 at 12:47 AM, Thomas Mortagne <[email protected]
> wrote:

> If you have an authenticator in front of XWiki that populate the
> REMOTE_USER request property you could use
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Trusted+LDAP
> which has been designed specifically for this use case.
>
> On Fri, Sep 18, 2015 at 3:05 AM, Debajit Adhikary <[email protected]>
> wrote:
> > I have an XWiki setup that uses Kerberos for authentication.
> >
> > I would like to continue using Kerberos, but use LDAP groups for
> > controlling page access rights.
> >
> > How could I do this?
> >
> > (If you could point me in the right direction, or to any appropriate
> > documentation, that would be a big help)
> >
> > Thanks in advance
> > —Debajit
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to