[java-identity-provider] branch main updated: Fix null bug.

Scott Cantor cantor.2 at osu.edu
Mon Jan 30 19:21:34 UTC 2023


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:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b975e844b5b7192a4c815dc7b8d6c8e32c987656

The following commit(s) were added to refs/heads/main by this push:
     new b975e844b Fix null bug.
b975e844b is described below

commit b975e844b5b7192a4c815dc7b8d6c8e32c987656
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jan 30 14:21:31 2023 -0500

    Fix null bug.
---
 .../profile/config/navigate/AudienceRestrictionsLookupFunction.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/navigate/AudienceRestrictionsLookupFunction.java b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/navigate/AudienceRestrictionsLookupFunction.java
index 25fd7d554..66923b51b 100644
--- a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/navigate/AudienceRestrictionsLookupFunction.java
+++ b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/navigate/AudienceRestrictionsLookupFunction.java
@@ -19,7 +19,6 @@ package net.shibboleth.idp.saml.profile.config.navigate;
 
 import java.util.Collection;
 import java.util.Collections;
-import java.util.List;
 import java.util.Set;
 
 import javax.annotation.Nullable;
@@ -70,7 +69,7 @@ public class AudienceRestrictionsLookupFunction extends AbstractRelyingPartyLook
             }
             
             if (id != null) {
-                return CollectionSupport.singletonList(rpc.getRelyingPartyId());
+                return CollectionSupport.singletonList(id);
             }
         }
         

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


More information about the commits mailing list