puppetlabs/trapperkeeper-webserver-jetty9 — pull request #42 by fhrbek (2014-08-01 14:03:20+00:00)
Title: TK Proxy fixes

This PR
- bumps schema version to support the Bool type (needed in dependent projects)
- moves jetty version to a variable to enable easy jetty version change
- bumps version of the http client
- enables using the latest jetty client (a workaround with the Logger creation is needed)
- This PR
- bumps schema version to support the Bool type (needed in dependent projects)
- moves jetty version to a variable to enable easy jetty version change
- bumps version of the http client
- enables using the latest jetty client (a workaround with the Logger creation is needed)
- adds another hook in the add-proxy-route which enables changing the URI early enough in case of redirection (AFAIK request in the callback-fn cannot change its hostname), if we say that we'll always redirect within the same hostname then we can try to merge this hook into the callback-fn as well
- adds support for authorization via the 'authorize-fn' callback function which can either grant access to the target URI, or send a redirect to a different URI (typically the "forbidden" page)