Find

Question
· Jan 5

IRIS Delegated Authentication Not Triggering ZAUTHENTICATE with Kong API Gateway

We are implementing delegated auth between Kong Gateway and IRIS. Kong is correctly configured to forward JWT authenticated requests with consumer headers (X-Consumer-Username, etc.) to IRIS, but the ZAUTHENTICATE routine (deployed in the %SYS namespace) never executes, leaving ZW ^ZAUTHLOG empty despite successful header delivery.

401 errors response:
...
* Request completely sent off
< HTTP/1.1 401 Unauthorized
< Content-Type: text/html; charset=utf-8
< Content-Length: 0
< Connection: keep-alive
< Date: Fri, 02 Jan 2026 16:03:48 GMT
< CACHE-CONTROL: no-cache
< EXPIRES: Thu, 29 Oct 1998 17:04:19 GMT
< PRAGMA: no-cache
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< Server: kong/3.11.0.3-enterprise-edition
< X-Kong-Upstream-Latency: 17
< X-Kong-Proxy-Latency: 1
< Via: 1.1 kong/3.11.0.3-enterprise-edition
< X-Kong-Request-Id: d1e1be43c3b00050672d105fb285c519

* Connection #0 to host kong.dev.azure.asmodee.com:443 left intact
 

ZAUTHENTICATE code:

ZAUTHENTICATE(ServiceName, Namespace, Username, Password, Credentials, Properties) PUBLIC {
    SET idx = $INCREMENT(^ZAUTHLOG)
    SET ^ZAUTHLOG(idx,"$H") = $H
    SET ^ZAUTHLOG(idx,"Service") = ServiceName
    SET ^ZAUTHLOG(idx,"Namespace") = Namespace
    SET kongConsumer = ""
    IF $ISOBJECT(%request) {
        SET kongConsumer = $GET(%request.CgiEnvs("HTTP_X_CONSUMER_USERNAME"))
    }
    SET ^ZAUTHLOG(idx,"Kong_Consumer_From_Header") = kongConsumer
    SET ^ZAUTHLOG(idx,"ServiceName_Received") = ServiceName
    IF kongConsumer="" {
        SET ^ZAUTHLOG(idx,"Result") = "REJECTED_NO_KONG_HEADER"
        QUIT $SYSTEM.Status.Error($$$InvalidUsernameOrPassword)
    }
    SET Username = "jarvis_proxy"
    SET ^ZAUTHLOG(idx,"IRIS_Username") = Username
    SET ^ZAUTHLOG(idx,"Result") = "AUTHENTICATED"
    SET Properties("Username") = Username
    QUIT $SYSTEM.Status.OK()
}
 

Troubleshooting Done:

  • AutheEnabled set to 8192 (Delegated, Bit 13 per Security.Applications documentation).
  • ZAUTHENTICATE routine compiled with Resource Required parameter.
  • Headers verified reaching IRIS (Web Gateway logs).
  • Kong request-transformer plugin is working correctly.
  • Manual testing shows routine executes, but delegated requests don't trigger it.
  • We also tested delegated authentication by calling IRIS directly (bypassing Kong) with pre-set headers; ZAUTHENTICATE still doesn't trigger. Unauthenticated and Password auth methods work well.



Does ZAUTHENTICATE require specific conditions to execute (session state, pre-auth check)? What am I missing ?
Thank you for any help !

5 new Comments
Discussion (5)2
Log in or sign up to continue
Article
· Jan 5 1m read

Note concernant le paramètre "Rester connecté" (StayConnected) pour les adaptateurs TCP

FAQ InterSystems

Les paramètres par défaut pour la connexion permanente et la taille du pool pour les hôtes professionnels utilisant l'adaptateur TCP sont les suivants :

StayConnected = -1(no timeout)
PoolSize = 1

Si un problème réseau entraîne la perte de connexion à un serveur d'entreprise, le système de production ne pourra pas le détecter et refusera toute nouvelle connexion. Dans ce cas, aucun événement n'est consigné dans le journal des événements. Si la valeur de StayConnected est définie sur sa valeur par défaut (-1), les connexions n'expireront pas et vous devrez redémarrer le serveur d'entreprise pour qu'il puisse accepter de nouvelles connexions. Nous recommandons de définir StayConnected sur une valeur supérieure ou égale à 0 afin d'éviter ce problème.

Par exemple, si vous le définissez sur 300 (secondes), un hôte d'entreprise TCP peut se déconnecter et se reconnecter automatiquement s'il ne reçoit aucun nouveau message pendant 300 secondes ou plus.

Pour les systèmes très sollicités, il est généralement conseillé de définir la valeur StayConnected à une valeur plus faible, par exemple 5 secondes.

Discussion (0)1
Log in or sign up to continue
Digest
· Jan 5

Publications des développeurs d'InterSystems, semaine Décembre 29, 2025 - Janvier 04, 2026, Résumé

Articles
Annonces
#Communauté des développeurs officielle
Décembre 29, 2025 - Janvier 04, 2026Week at a GlanceInterSystems Developer Community
Question
· Jan 5

IRIS development server data-sync best practices

Current setup:

  • 2x IRIS instances in mirror pair
  • 1x IRIS development server (non-mirror)

Right now we have a script that successfully replaces the database for our IRIS development server with the latest snapshot from IRIS production, this process takes under 1 minute.

 

However, I noticed that when starting up IRIS after disk-replacement (not root disk, only data disk) every SQL query takes significantly longer for the first few days, I believe this to be SQL query plan cache being purged when the new disk from snapshot is used, SQL queries will hit timeouts until after several times running said query / API call, overtime it becomes performant again until next disk replacement.

 

We need to be able to sync data from production to development ideally few times a month, but this performance after attaching the new disk becomes almost unusable due to the timeouts, is there a way to sync data from production --> development without causing these issues?

Discussion (0)1
Log in or sign up to continue
Question
· Jan 5

Reclaim Youthful Hair and Shine with Professional Hair Transplant in Dubai

Hair loss and thinning can significantly impact confidence and self-image. Many individuals seek effective solutions to restore their natural hair growth and regain a youthful appearance. This innovative procedure has gained attention for its ability to enhance hair density, improve scalp health, and revitalize overall appearance. By understanding the process, benefits, and practical insights, anyone can make informed decisions about reclaiming their hair. Hair Transplant Dubai offers a professional approach that allows hair to grow naturally, providing long-lasting results.

Understanding Hair Transplant

Hair Transplant is a medical procedure designed to restore hair in areas affected by thinning or balding. It involves relocating healthy hair follicles from donor regions to areas that require density. The technique ensures that transplanted hair grows naturally, blending seamlessly with existing hair. This procedure has evolved over the years, adopting advanced technologies that increase precision and effectiveness. By focusing on follicular health and scalp alignment, Hair Transplant ensures results that are both aesthetically pleasing and sustainable.

Page 2 | Hair transplant Images - Free Download on Freepik

The Process of Hair Transplant

The process begins with a detailed assessment to determine the hair growth pattern and the density required for a natural look. Professionals identify suitable donor areas, typically regions with healthy hair growth, to ensure successful transplantation. The harvested follicles are carefully implanted into thinning regions with meticulous attention to direction, angle, and density. This ensures that the hair integrates naturally with the surrounding strands. The procedure is personalized, taking into account individual hair characteristics such as texture, color, and curl pattern, to achieve harmonious results.

Benefits of Hair Transplant

Hair Transplant offers multiple advantages for those looking to regain youthful hair. One primary benefit is permanent hair restoration, which allows individuals to enjoy natural-looking hair without recurring treatments. The procedure enhances hair density, creating a fuller and thicker appearance that boosts self-confidence. Additionally, it helps improve scalp health by stimulating natural hair growth and reducing areas of baldness. Hair Transplant also contributes to a youthful appearance by addressing hair thinning that often accompanies aging.

Enhancing Appearance Naturally

A professional Hair Transplant not only restores hair but also enhances facial symmetry and overall aesthetics. Thicker hair frames the face effectively, highlighting facial features and providing a more vibrant look. This natural enhancement ensures that individuals can enjoy a refreshed appearance without noticeable signs of treatment. By focusing on natural growth patterns, Hair Transplant maintains the authenticity of hairline and density, resulting in a harmonious and balanced look.

Preparing for Hair Transplant

Preparation plays a vital role in ensuring successful outcomes. Individuals are encouraged to maintain scalp health by following recommended hair care routines before the procedure. This includes gentle cleansing, avoiding harsh chemicals, and addressing any scalp conditions that could affect follicle growth. Adequate hydration and nutrition also contribute to stronger hair follicles, optimizing the results of the transplant. Understanding the procedure, setting realistic expectations, and following professional guidance ensures a smooth experience and satisfactory results.

Recovery and Growth

After Hair Transplant, the recovery phase involves gradual hair growth in the treated areas. Initially, transplanted follicles may shed temporarily, which is a normal part of the process. Over time, new hair begins to emerge, blending naturally with existing strands. Consistent hair care and patience are essential during this phase, as full results may take several months to manifest. The outcome is a natural, healthy, and rejuvenated appearance that restores both hair density and personal confidence.

Long-Term Advantages

The long-term benefits of Hair Transplant extend beyond aesthetic improvements. Permanent hair restoration reduces the need for ongoing interventions, providing a lasting solution for thinning or balding areas. Hair Transplant also promotes hair health by stimulating natural growth cycles, which can improve scalp vitality. Individuals can enjoy versatile styling options, as transplanted hair responds to cutting, coloring, and styling just like naturally grown hair.

Common Questions

How Does Hair Transplant Ensure Natural Growth?

The procedure focuses on transplanting healthy follicles that maintain their original characteristics. By considering growth direction, density, and hair texture, professionals create a seamless integration with existing hair.

Is Hair Transplant Suitable for Everyone?

Hair Transplant is suitable for individuals experiencing hair thinning or bald patches, provided they have sufficient donor hair. Personalized assessments determine the best approach for each individual.

What Results Can Be Expected?

Most individuals experience noticeable hair density improvement within a few months. Full results typically develop gradually, creating a natural and rejuvenated appearance.

How Does Hair Transplant Improve Confidence?

By restoring hair density and natural appearance, Hair Transplant boosts self-esteem and allows individuals to feel more confident in social and professional settings.

FAQs

What Is the Typical Duration of the Procedure?

The procedure duration varies depending on the area being treated, but it generally allows for careful follicle implantation without compromising precision.

Can Hair Transplant Handle Extensive Thinning?

Yes, extensive thinning can be addressed effectively, provided there are adequate donor follicles. Personalized planning ensures optimal coverage and natural growth patterns.

How Soon Will Hair Be Noticeable?

Initial hair growth may appear within a few weeks, with more substantial growth and density visible over several months. Full restoration can take up to a year.

Are There Restrictions Post-Procedure?

While there are minimal restrictions, individuals are encouraged to follow professional guidance to support hair follicle growth and integration.

Advanced Techniques in Hair Transplant

Modern Hair Transplant techniques focus on precision and natural outcomes. Advanced methods ensure minimal scarring, optimized follicle survival, and faster recovery times. These approaches allow for detailed customization, catering to individual hair characteristics and aesthetic goals. By utilizing cutting-edge tools and strategies, Hair Transplant delivers results that reflect personal style and desired density while maintaining natural hair behavior.

Integrating Hair Health Practices

In addition to the procedure, integrating healthy hair practices supports long-term results. This includes gentle hair care routines, avoiding excessive heat or harsh chemicals, and maintaining scalp cleanliness. A balanced diet and proper hydration contribute to follicle strength and overall hair vitality, complementing the benefits of Hair Transplant.

Transforming Hair Confidence

Hair Transplant in Dubai transforms more than hair—it revitalizes personal confidence and lifestyle. Individuals often report enhanced self-perception and a renewed sense of identity after achieving natural hair density. The procedure allows for creative styling, helping individuals embrace their desired appearance with pride.

Conclusion

Hair Transplant is a reliable and professional solution to reclaim youthful hair and shine. By focusing on natural growth, density, and aesthetics, this procedure restores confidence and revitalizes personal appearance. Advanced techniques, proper preparation, and attention to hair health ensure results that are long-lasting and authentic. Individuals seeking to rejuvenate their hair and enhance overall appearance can benefit from the transformative effects of Hair Transplant. Embracing this solution allows for natural, healthy, and vibrant hair that elevates both style and self-esteem.

Discussion (0)1
Log in or sign up to continue