Written by

Question Mark OReilly · Mar 13, 2024

ZAUTHENTICATE.Mac cannot be saved in %SYS other macros can

When trying to save ZAUTHENTICATE.mac the following error occurs 

If it is wrongly named as like ZATHIENTICATE.mac in the %SYS namespace it saves ok so it is something blocking saving a new fresh ZAUTH code of the correct name- we have no other delegated auth that I am aware of. 

Comments

Ben Spead · Mar 13, 2024

what version of IRIS is this occurring on?

0
Mark OReilly  Mar 13, 2024 to Ben Spead

IRIS for Windows (x86-64) 2022.1.2 (Build 574U) Fri Jan 13 2023 15:00:26 EST [Health:3.5.0-1.m1]

This has been an upgraded version from a previous i think 2016 version about a year and a half ago

0
Scott Roth · Mar 13, 2024

If I remember correctly, I had to make HSLIB read/write and then I was able to update %SYS when we used ZAUTHENTICATE.mac. We have since moved to using LDAP.

0
Enrico Parisi · Mar 13, 2024

What product? If it's HealthShare then you should use the class HS.Local.ZAUTHENTICATE in HSCUSTOM namespace.

0
Mark OReilly · Mar 15, 2024

The routine was set to be mapped for some reason

0
Ben Spead  Mar 15, 2024 to Mark OReilly

Glad you figured it out!  Thank you for letting us know that it was resolved and was a configuration issue.

0
Enrico Parisi  Mar 15, 2024 to Mark OReilly

If it was mapped to HSLIB, then I think you are using HealthShare, if so, you are not supposed to change that mapping, instead you should use/modify HS.Local.ZAUTHENTICATE class in HSCUSTOM namespace.

I believe the mapping will be recreated when updating/upgrading the system.

0
Enrico Parisi  Mar 15, 2024 to Mark OReilly

If you are using HealthShare, and I do believe so, please read the following documentation (login required):

Custom Authentication Processing using the Local ZAUTHENTICATE

There you will find:

Important:

The ZAUTHENTICATE provided with HealthShare includes callbacks that allow you to add custom processing at specific entry points. Do not modify the supplied ZAUTHENTICATE. Instead, add your callback processing as class methods in the class HS.Local.ZAUTHENTICATE

0
Enrico Parisi  Mar 15, 2024 to Enrico Parisi

I just realized that with IRIS for Health (and I maybe also HelthShare connect) ZAUTHENTICATE is mapped to HSLIB and you should use/modify HS.Local.ZAUTHENTICATE class in HSCUSTOM namespace.

0