[Koha-bugs] [Bug 16694] Limit SIP2 auth by patron attribute

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 17 14:21:06 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16694

--- Comment #23 from Mark Alexander <marka at pobox.com> ---
Created attachment 80702
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80702&action=edit
Patch for C4/SIP/Sip/MsgType.pm

Attached is patch to C4/SIP/Sip/MsgType.pm that uses a plugin to
validate patrons.  It requires a plugin_class attribute in the account
section of SIPconfig.xml; in my test it looked like this:

  <accounts>
      <login id="kanopy" password="**password**" delimiter="|"
        error-detect="enabled"
        institution="RPL"
        plugin_class="Koha::Plugin::Com::Bloovis::Sip2patron" />
  </accounts>

I will also attach the relevant code from the plugin separately.

I have no idea if this is the right approach but it's enough to get our library
working with Kanopy.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list