1. 04 Jan, 2010 1 commit
  2. 02 Nov, 2009 1 commit
  3. 29 Oct, 2009 1 commit
    • Michael Hanselmann's avatar
      http.auth: Add new function to verify passwords · bf9bd8dd
      Michael Hanselmann authored
      This new function supports two schemes for passwords:
      - Old-style cleartext passwords
      - Hashed passwords according to RFC2617 (H(A1))
      Schemes are differentiated by their prefix, a concept also
      used in OpenLDAP. Cleartext passwords can no longer start
      with an opening brace ("{") unless they're prefixed with
      "{cleartext}" (case insensitive).
      Currently there's no documentation for rapi_users at all.
      It'll be in a consecutive patch.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  4. 07 Jul, 2009 2 commits
  5. 23 Jun, 2009 1 commit
    • Iustin Pop's avatar
      Fix HTTP server library handling of credentials · 81b59aaf
      Iustin Pop authored
      Currently the http library only checks credentials when authentication
      is required. This means that any credentials are accepted on the root
      resource, for example, which makes problems hard to diagnose - the
      user/pw works for all queries, until one tries to do a modification at
      which point fails.
      This patch changes the PreHandleRequest() function to not ignore
      credentials when passed, even if we don't require authentication. This
      makes the behavior of RAPI more predictable.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  6. 20 Mar, 2009 1 commit
  7. 04 Feb, 2009 1 commit
    • Iustin Pop's avatar
      rapi: fix authentication and queries · 85414b69
      Iustin Pop authored
      For queries, we don't want to require authentication. We fix this by adding an
      override GetAuthRealm in the rapi daemon.
      We also fix a method name.
      Reviewed-by: imsnah
  8. 15 Jan, 2009 1 commit
    • Iustin Pop's avatar
      Some docstring updates · 25e7b43f
      Iustin Pop authored
      This patch rewraps some comments to shorter lengths, changes
      double-quotes to single-quotes inside triple-quoted docstrings for
      better editor handling.
      It also fixes some epydoc errors, namely invalid crossreferences (after
      method rename), documentation for inexistent (removed) parameters, etc.
      Reviewed-by: ultrotter
  9. 06 Jan, 2009 1 commit
  10. 19 Dec, 2008 2 commits