The authenticate() method is needed for the login page, which will require
a password. If you just never use that page, you won't have to worry about
using those parameters as-is (see X509AuthBackend and X509AuthMiddleware).
What kind of problems are you hitting, specifically? Any errors?
For the record, your auth backend will need to be a subclass of our
AuthBackend class. You can use multiple inheritance for this, though. We
have more specialized needs than what Django provides by default, so just
dropping in a subclass of RemoteUserBackend without complying with
AuthBackend won't work.
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>
On Wed, Jul 27, 2016 at 5:46 AM, Abhishek Choudhary <xabh...@gmail.com>
> I would like to use REMOTE_USER set by Apache to authenticate users in
> ReviewBoard. I have tried adding RemoteUserMiddleware in MIDDLEWARE_CLASSES
> and my custom auth backend which extends django's RemoteUserBackend
> in AUTHENTICATION_BACKENDS in settings_local.py. But the authentication is
> not working.
> I looked at
> but it requires that I provide a subclass of
> whose authenticate method takes username and password as arguments. But i
> don't have password corresponding to the username.
> Could you someone help me with this? Has anyone tried using this with
> ReviewBoard v2.5.x?
> Supercharge your Review Board with Power Pack:
> Want us to host Review Board for you? Check out RBCommons:
> Happy user? Let us know! https://www.reviewboard.org/users/
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.