]> git.evergreen-ils.org Git - working/Evergreen.git/commit
User activity tracking: open-ils.auth additions
authorBill Erickson <berick@esilibrary.com>
Mon, 16 Jan 2012 21:19:41 +0000 (16:19 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 8 Mar 2012 18:50:06 +0000 (13:50 -0500)
commit75932d074b19cec1cf954411bb8c138f4cf6414d
treee1fdd60a7dfcea7f142d8c26b3663eb6e07cbe20
parentb2d097445cf8c2609bbbd4576a78143658877464
User activity tracking: open-ils.auth additions

* Creates usr_activity entries for login and authentication verification
  requests

* Adds a new parameter to open-ils.auth.authenticate.[complete|verify]
  methods called "agent" which maps to the usr_activity column for "ewho"
  (the UI or 3rd-party that initiated the action).

* Adds a new API call "open-ils.auth.authenticate.verify", which behaves
  almost identically to authenticate.complete, with the exception that it
  does not "log in" (i.e. create an auth token and cache the user object).
  Instead, it simply returns a SUCCESS event if the username/barcode and
  password combination are valid.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/include/openils/oils_utils.h
Open-ILS/src/c-apps/oils_auth.c
Open-ILS/src/c-apps/oils_utils.c