EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Propagating Frontend-Authenticated User Identity to EPICS CA/PVA Clients
From: André Favoto via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 5 Mar 2026 22:54:06 +0000
Hi all,
TL;DR: CA allows explicit setting of CA_PROTO_CLIENT_NAME from client side (e.g. caproto).
For PVAccess with "ca" as authentication method, is there a clear interface to do the same? Could maybe p4p support it?
Context:
In web-based applications, users are often authenticated using the organization's credentials (LDAP, SSO, etc.) before
interacting with a shared backend service. Besides the access control from the application itself, the IOC Access
Security rules should also apply per authenticated user, especially to avoid duplication of authorization logic in the
frontend application.

However, when a backend service mediates all EPICS operations, the username seen by Access Security is the backend
server's OS user. This was already noted by ORNL PVWS as something that can break ASG enforcement.

The suggested fix is to also enforce the RBAC for the IOCs in the frontend application - which I am trying to avoid, since
the source of credentials of the FE and the AS rules is the same.

The question: with PVA and the "ca" authentication plugin, is there a supported way to propagate the already
authenticated user identity from a frontend or service layer to the IOC, so that AS rules are evaluated correctly per
user? 

Suggestions of other perspectives for looking into this are welcome.

Thanks!

Replies:
Re: Propagating Frontend-Authenticated User Identity to EPICS CA/PVA Clients Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: ADAndor IOC Restart Issue: Camera Handle Already Claimed After Ctrl+X Termination Henrique F. Simoes via Tech-talk
Next: Re: Help in debugging ACF connection issue Érico Nogueira Rolim via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: Re: ADAndor IOC Restart Issue: Camera Handle Already Claimed After Ctrl+X Termination Kim, Kuktae via Tech-talk
Next: Re: Propagating Frontend-Authenticated User Identity to EPICS CA/PVA Clients Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·