[java-idp-plugin-oidc-rp] branch main updated: JOIDCRP-77 - Add an audit field for the RelyingPartyConfiguration bean ID

Phil Smart philip.smart at jisc.ac.uk
Wed Nov 12 17:22:24 UTC 2025


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-idp-plugin-oidc-rp.

View the commit online:
https://git.shibboleth.net/view/?p=java-idp-plugin-oidc-rp.git;a=commit;h=459ca36d3e3df9be52dda533ff11aa204f048201

The following commit(s) were added to refs/heads/main by this push:
     new 459ca36  JOIDCRP-77 - Add an audit field for the RelyingPartyConfiguration bean ID
459ca36 is described below

commit 459ca36d3e3df9be52dda533ff11aa204f048201
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Nov 12 17:22:21 2025 +0000

    JOIDCRP-77 - Add an audit field for the RelyingPartyConfiguration bean
    ID
    
     - Add audit field hard coded to the field name 'RPC' until we can
    reference the constant in 5.2
    
    https://shibboleth.atlassian.net/browse/JOIDCRP-77
---
 .../main/resources/META-INF/net.shibboleth.idp/postconfig.xml    | 9 +++++++++
 idp-oidc-rp-impl/src/test/resources/conf/audit.xml               | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/idp-oidc-rp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/idp-oidc-rp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index dc77dcc..cdc40bc 100644
--- a/idp-oidc-rp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/idp-oidc-rp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -353,6 +353,15 @@
                     </key>
                     <ref bean="shibboleth.IssuerLookup.Simple" />
                 </entry>
+                <entry key="RPC">
+                    <bean parent="shibboleth.Functions.Compose"
+                            c:f-ref="shibboleth.ChildLookup.RelyingParty">
+                        <constructor-arg name="g">
+                            <bean parent="shibboleth.Functions.Expression"
+                                c:_0="#input?.getConfiguration()?.getId()" />
+                        </constructor-arg>
+                    </bean>
+                </entry>
             </map>
         </property>
     </bean>
diff --git a/idp-oidc-rp-impl/src/test/resources/conf/audit.xml b/idp-oidc-rp-impl/src/test/resources/conf/audit.xml
index fac2c1e..713c0e1 100644
--- a/idp-oidc-rp-impl/src/test/resources/conf/audit.xml
+++ b/idp-oidc-rp-impl/src/test/resources/conf/audit.xml
@@ -33,7 +33,7 @@
     
     <!-- This is not the default logging format in a normal install! -->
     <util:map id="shibboleth.AuditFormattingMap">
-        <entry key="Shibboleth-Audit" value="%a|%ST|%T|%AUTHNFS|%u|%SP|%i|%ac|%AF|%t|%attr|%n|%f|%SSO|%XX|%XA|%b|%bb|%e|%S|%SS|%s|%UA|%DEST|%RS|%RDURI|%fauth|%RESPT|%RESPM|%scope|%ACRS|%AUTHNR|%aud|%t|%SUBUI" />
+        <entry key="Shibboleth-Audit" value="%a|%RPC|%ST|%T|%AUTHNFS|%u|%SP|%i|%ac|%AF|%t|%attr|%n|%f|%SSO|%XX|%XA|%b|%bb|%e|%S|%SS|%s|%UA|%DEST|%RS|%RDURI|%fauth|%RESPT|%RESPM|%scope|%ACRS|%AUTHNR|%aud|%t|%SUBUI" />
     </util:map>
 
     <!-- Override the format of date/time fields in the log and/or convert to default time zone. -->

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list