gerrit/gerrit-openid/src/main
Shawn Pearce ace2c6d9f4 Fix login servlets when canonicalWebUrl is not set
Each login servlet knows enough about the incoming request to be able
to not need the canonical web address for redirection purposes.  In
the case gerrit.canonicalWebUrl is not set, use the incoming request
to build up the URL.

This solution is a work-around for the fact that somewhere before 2.5
Colby broke the HttpServletRequest scope based version of the
@CanonicalWebUrl provider.  Because Guice cannot supply the request in
some contexts we pass the request into the provider as an argument.

Long term all of these authentication methods will be ejected into
their own plugins and it will be possible to revisit how this
configuration is handled.

Change-Id: I0e00b89020860a02b5d6ea77da5c784f5f0bb1b8
2013-05-14 19:27:04 -07:00
..
java/com/google/gerrit/httpd/auth/openid Fix login servlets when canonicalWebUrl is not set 2013-05-14 19:27:04 -07:00
resources/com/google/gerrit/httpd/auth/openid Include site header, footer and CSS on OpenID login form 2013-04-23 13:49:57 -07:00