User activity tracking: open-ils.auth additions
authorBill Erickson <berick@esilibrary.com>
Mon, 16 Jan 2012 21:19:41 +0000 (16:19 -0500)
committerBill Erickson <berick@esilibrary.com>
Mon, 27 Feb 2012 20:26:06 +0000 (15:26 -0500)
commitda6d40d6e483af70ffa23c14c96aa998f27ba5e3
tree0ff3bbfb9d3e8263be77863e462318471972e5ef
parent55bc9b149281ec53a9a6a2949654f0a20e1b7b5d
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>
Open-ILS/include/openils/oils_utils.h
Open-ILS/src/c-apps/oils_auth.c
Open-ILS/src/c-apps/oils_utils.c