summaryrefslogtreecommitdiff
path: root/lib/mixlib/authentication/http_authentication_request.rb
Commit message (Collapse)AuthorAgeFilesLines
* Substitute require for require_relativerelativeTim Smith2019-12-201-1/+1
| | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Chefstyle fixesTim Smith2019-08-061-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Chefstyle autocorrectsTim Smith2019-08-061-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update copyrights and e-mailsTim Smith2018-07-301-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Move mixlib-auth debugging to trace leveltm/loggingThom May2018-04-111-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Fix following bug:jonyrock2016-06-081-1/+2
| | | | | | It's possible that a request contains more than nine headers like "x_ops_authorization_n". In this case headers will be sorted in the wrong way. The first will be "x_ops_authorization_1", the second "x_ops_authorization_10" and so on. So that request signature transfered by parts in "x_ops_authorization_n" headers will be reconstructed in wrong way. So that authentication will fail.
* Chefstyle and modernisev1.4.1Thom May2016-06-081-6/+5
| | | | Signed-off-by: Thom May <thom@may.lt>
* Use DEFAULT_SERVER_API_VERSION in all the placesjdm/sign-v1.3Jay Mundrawala2015-11-301-1/+1
|
* Sign x-ops-server-api-version headerJay Mundrawala2015-11-301-2/+4
|
* [CHEF-761] revert to verifying the headers in initializeDaniel DeLeo2010-07-211-0/+1
| | | | | ...so that malformed requests are caught before we try to use any of their headers
* [CHEF-761] initialize with the request to access normalized headersDaniel DeLeo2010-07-211-3/+4
| | | | | | | | * Can now create the signature verification object w/ the request and then access values computed by the HTTPAuthenticationRequest object. * created a #authenticate_reqest method that can be used when signature verification is initialized w/ the request * #authenticate_user_request works as before
* [CHEF-761] extract header handling into its own classDaniel DeLeo2010-07-211-0/+85