[java-identity-provider] branch master updated: Add DEST audit field for response URL.
Scott Cantor
cantor.2 at osu.edu
Thu Aug 15 12:21:25 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=13965d2eea091353c2cde1754c9f38fe544c5294
The following commit(s) were added to refs/heads/master by this push:
new 13965d2 Add DEST audit field for response URL.
13965d2 is described below
commit 13965d2eea091353c2cde1754c9f38fe544c5294
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 15 12:21:22 2019 -0400
Add DEST audit field for response URL.
---
.../src/main/resources/system/conf/audit-system.xml | 19 +++++++++++++++++++
.../net/shibboleth/idp/profile/IdPAuditFields.java | 5 ++++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/idp-conf/src/main/resources/system/conf/audit-system.xml b/idp-conf/src/main/resources/system/conf/audit-system.xml
index b515ccb..9a84d02 100644
--- a/idp-conf/src/main/resources/system/conf/audit-system.xml
+++ b/idp-conf/src/main/resources/system/conf/audit-system.xml
@@ -431,6 +431,19 @@
</entry>
<entry>
<key>
+ <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.DESTINATION_URL"/>
+ </key>
+ <bean parent="shibboleth.Functions.Compose">
+ <constructor-arg name="g">
+ <bean class="net.shibboleth.ext.spring.util.SpringExpressionFunction"
+ p:inputType="org.opensaml.messaging.context.MessageContext" p:outputType="java.net.URI"
+ c:_0="#input != null ? T(org.opensaml.saml.common.binding.SAMLBindingSupport).getEndpointURL(#input) : null" />
+ </constructor-arg>
+ <constructor-arg name="f" ref="shibboleth.MessageContextLookup.Outbound"/>
+ </bean>
+ </entry>
+ <entry>
+ <key>
<util:constant static-field="net.shibboleth.idp.saml.profile.SAMLAuditFields.RESPONSE_ID"/>
</key>
<bean parent="shibboleth.Functions.Compose">
@@ -716,6 +729,12 @@
</entry>
<entry>
<key>
+ <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.DESTINATION_URL"/>
+ </key>
+ <bean class="net.shibboleth.idp.cas.audit.impl.ServiceLookupFunction" />
+ </entry>
+ <entry>
+ <key>
<util:constant static-field="net.shibboleth.idp.cas.protocol.CASAuditFields.SERVICE_URL"/>
</key>
<bean class="net.shibboleth.idp.cas.audit.impl.ServiceLookupFunction" />
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 24a6d29..6a0f295 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
@@ -41,6 +41,9 @@ public final class IdPAuditFields {
/** URI field. */
@Nonnull @NotEmpty public static final String URI = "URI";
+ /** Destination URL field. {@since 4.0.0} */
+ @Nonnull @NotEmpty public static final String DESTINATION_URL = "DEST";
+
/** Session ID field. */
@Nonnull @NotEmpty public static final String SESSION_ID = "s";
@@ -64,7 +67,7 @@ public final class IdPAuditFields {
/** Attributes field. */
@Nonnull @NotEmpty public static final String ATTRIBUTES = "attr";
-
+
/** Constructor. */
private IdPAuditFields() {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list