[java-identity-provider] branch main updated: IDP-2412- - Add an audit field for the RelyingPartyConfiguration bean ID
Scott Cantor
cantor.2 at osu.edu
Mon Nov 10 18:18:30 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
https://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=5354e4851bafc40f3c29efb067939d70a9e9c07f
The following commit(s) were added to refs/heads/main by this push:
new 5354e4851 IDP-2412- - Add an audit field for the RelyingPartyConfiguration bean ID
5354e4851 is described below
commit 5354e4851bafc40f3c29efb067939d70a9e9c07f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 10 13:18:26 2025 -0500
IDP-2412- - Add an audit field for the RelyingPartyConfiguration bean ID
https://shibboleth.atlassian.net/browse/IDP-2412
RPC field added and wired in for SAML.
---
.../main/resources/net/shibboleth/idp/conf/audit-system.xml | 12 ++++++++++++
.../main/java/net/shibboleth/idp/profile/IdPAuditFields.java | 6 +++++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/audit-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/audit-system.xml
index 740b649a5..efd7d0988 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/audit-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/audit-system.xml
@@ -528,6 +528,18 @@
class="org.springframework.beans.factory.config.MapFactoryBean">
<property name="sourceMap">
<map>
+ <entry>
+ <key>
+ <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.RELYING_PARTY_CONFIG"/>
+ </key>
+ <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>
<entry>
<key>
<util:constant static-field="net.shibboleth.idp.saml.profile.SAMLAuditFields.SERVICE_PROVIDER"/>
diff --git a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/IdPAuditFields.java b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/IdPAuditFields.java
index 1462fa2f4..7a0dcd0ad 100644
--- a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/IdPAuditFields.java
+++ b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/IdPAuditFields.java
@@ -16,10 +16,11 @@ package net.shibboleth.idp.profile;
import javax.annotation.Nonnull;
+import net.shibboleth.profile.relyingparty.RelyingPartyConfiguration;
import net.shibboleth.shared.annotation.constraint.NotEmpty;
/**
- * Constants to use for audit logging fields stored in an {@link net.shibboleth.profile.context.AuditContext}.
+ * Constants to use for IdP audit logging fields stored in an {@link net.shibboleth.profile.context.AuditContext}.
*/
public final class IdPAuditFields {
@@ -53,6 +54,9 @@ public final class IdPAuditFields {
/** User Agent field. */
@Nonnull @NotEmpty public static final String USER_AGENT = "UA";
+ /** {@link RelyingPartyConfiguration} bean ID field. @since 5.2.0 */
+ @Nonnull @NotEmpty public static final String RELYING_PARTY_CONFIG = "RPC";
+
/** Profile field. */
@Nonnull @NotEmpty public static final String PROFILE = "P";
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list