[java-idp-plugin-oidc-rp] branch main updated: Fix test

Phil Smart philip.smart at jisc.ac.uk
Wed Dec 21 10:20:51 UTC 2022


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-idp-plugin-oidc-rp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-oidc-rp.git;a=commit;h=4f32f6fb1445f1d7108f2ca675563ee2501e9e08

The following commit(s) were added to refs/heads/main by this push:
     new 4f32f6f  Fix test
4f32f6f is described below

commit 4f32f6fb1445f1d7108f2ca675563ee2501e9e08
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Dec 21 10:20:48 2022 +0000

    Fix test
---
 .../shibboleth/idp/plugin/authn/oidc/rp/impl/BuildRequestObject.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/BuildRequestObject.java b/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/BuildRequestObject.java
index dd7fa5f..756ca3b 100644
--- a/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/BuildRequestObject.java
+++ b/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/BuildRequestObject.java
@@ -320,7 +320,7 @@ public class BuildRequestObject extends AbstractAuthenticationAction {
                         // Value and values hold distinct entries for some reason
                         if (existingAcr.getRawValue() instanceof ACR) {
                             acrValues.add((ACR)existingAcr.getRawValue());
-                        } else {
+                        } else if (existingAcr.getRawValue() != null){
                             acrValues.add(new ACR(existingAcr.getValueAsString()));
                         }
                     }

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


More information about the commits mailing list