[java-plugin-shibd] branch main updated: Adjust base class.
Scott Cantor
cantor.2 at osu.edu
Thu Sep 19 15:38:57 UTC 2024
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-plugin-shibd.
View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd.git;a=commit;h=1a50aff08195097c638fa77f302f6f091ac626a8
The following commit(s) were added to refs/heads/main by this push:
new 1a50aff Adjust base class.
1a50aff is described below
commit 1a50aff08195097c638fa77f302f6f091ac626a8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Sep 19 11:38:54 2024 -0400
Adjust base class.
---
.../net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java b/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java
index be5ab05..c21112b 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/profile/AbstractTokenConsumerResponseAction.java
@@ -103,7 +103,7 @@ public abstract class AbstractTokenConsumerResponseAction extends AbstractApplic
}
final AttributeContext attributeContext = attributeContextLookupStrategy.apply(profileRequestContext);
- if (attributeContext != null) {
+ if (attributeContext != null && !attributeContext.getIdPAttributes().isEmpty()) {
log.debug("{} Serializing attributes for agent", getLogPrefix());
final DDF attrlist = output.addmember(ConsumerConstants.SESSION_ATTRIBUTES).list();
attributeContext.getIdPAttributes().forEach((id, attr) -> {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list