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>
Tue, 6 Mar 2012 16:02:45 +0000 (11:02 -0500)
commit183ccc7af1f5fe79e3266eb8d21e4cca9d32609f
tree88b75521458accadf98c3b863d294994722424ee
parent8fbdc486b34f4b067b6f74e341a1abffc38942b5
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