[java-plugin-shibd-saml] branch main updated: Set Reason attribute in logout requests.
Codeberg
noreply at shibboleth.net
Thu Apr 9 16:40:43 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-plugin-shibd-saml.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/84949da0c6c57f186e761619702d4047c5c1bdc3
The following commit(s) were added to refs/heads/main by this push:
new 84949da Set Reason attribute in logout requests.
84949da is described below
commit 84949da0c6c57f186e761619702d4047c5c1bdc3
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu Apr 9 12:06:01 2026 -0400
Set Reason attribute in logout requests.
---
.../net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutRequest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutRequest.java b/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutRequest.java
index 011a05b..8fab808 100644
--- a/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutRequest.java
+++ b/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutRequest.java
@@ -204,6 +204,8 @@ public class AddLogoutRequest extends AbstractApplicationAction {
object.setID(idGenerator.generateIdentifier());
object.setIssueInstant(Instant.now());
object.setVersion(SAMLVersion.VERSION_20);
+ // This might need to be configurable if the action is reused for some non-user purpose.
+ object.setReason(LogoutRequest.USER_REASON);
if (issuerId != null) {
log.debug("{} Setting Issuer to {}", getLogPrefix(), issuerId);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list