LP#2018615 - LookupUser Password Auth user/stompro/lp2018615-password-check-master
authorJosh Stompro <stomproj@larl.org>
Thu, 11 May 2023 18:20:35 +0000 (13:20 -0500)
committerJosh Stompro <stomproj@larl.org>
Fri, 12 May 2023 13:27:27 +0000 (08:27 -0500)
commit761dbd82831f0bbd709947a5cd96767349986fb3
tree8b4c7740fc1f6706eaa5d55b7460a7f865fad10f
parent1076f2741786b000f5ae9170d428c2e922ae0fee
LP#2018615 - LookupUser Password Auth

Adds support for checking passwords or PIN in the LookupUser message.

* Supports making passwords mandatory for the LookupUser Message.
* Supports auth-proxy with similar options as LP#1526558
* Includes a fix for the oils_ncip.xml config error mentioned in readme.
* Includes some testing messages from the Folio.org mod-ncip project.
  * https://github.com/folio-org/mod-ncip/tree/master/docs/sampleNcipMessages

oils_ncip.xlm fix - seems like as long as there is one non commened
out entry in a section, then the bug that would put the commented
out portion in the config data doesn't get triggered.

I haven't tested any of the auth-proxy settings since I don't
use that.  But I enabled the option and can confirm that
it still seems to work even when the auth-proxy enabled api call is
used to check if the feature is enabled.

Tested LookupUser Messages
* Barcode only
* Barcode and Password
* Barcode and PIN
* Barcode only with lookupuser_require_password enabled.
* Barcode and Password with lookupuser_require_password enabled.

Signed-off-by: Josh Stompro <stomproj@larl.org>
README.adoc
examples/NCIP_test_messages/folio-lookupuser-password.xml [new file with mode: 0644]
examples/NCIP_test_messages/folio-lookupuser-pin.xml [new file with mode: 0644]
examples/NCIP_test_messages/folio-lookupuser.xml [new file with mode: 0644]
examples/oils_ncip.xml.example
lib/NCIP/ILS/Evergreen.pm