openfrontier / docker-gerrit

Build a Docker image with the Gerrit code review system
Apache License 2.0
197 stars 116 forks source link

Add HTTP/HTTP_LDAP Auth Support #24

Closed michelvocks closed 8 years ago

michelvocks commented 8 years ago

Would love to see support for HTTP/HTTP__LDAP Auth in docker-entrypoint.sh.

thinkernel commented 8 years ago

Please checkout the latest image and tell me if that's what you need.

michelvocks commented 8 years ago

@thinkernel Perfect. Thank you very much! :+1:

michelvocks commented 8 years ago

Stupid me. Can you also add a variable for "auth.httpHeader"? It is by default not "X-Forwarded-User" which is the normal header key when you use a Reverse Proxy.

thinkernel commented 8 years ago

Pull the latest images, please. I also added support for auth.emailFormat and auth.gitBasicAuth besides auth.httpHeader in case you might need them.

michelvocks commented 8 years ago

Great. Works fine. Thank you.