[java-idp-oidc] branch main updated: Switch consent enabled to a Boolean.

Scott Cantor cantor.2 at osu.edu
Thu Jan 20 17:21:06 UTC 2022


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

scantor pushed a commit to branch main
in repository java-idp-oidc.

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

The following commit(s) were added to refs/heads/main by this push:
     new b732dcba Switch consent enabled to a Boolean.
b732dcba is described below

commit b732dcba7e3bec6df94b9f3bb1287641af734491
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 20 12:21:03 2022 -0500

    Switch consent enabled to a Boolean.
---
 .../shibboleth/idp/plugin/oidc/op/token/support/TokenClaimsSet.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/token/support/TokenClaimsSet.java b/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/token/support/TokenClaimsSet.java
index ad7f3f40..acad0887 100644
--- a/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/token/support/TokenClaimsSet.java
+++ b/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/token/support/TokenClaimsSet.java
@@ -688,7 +688,7 @@ public class TokenClaimsSet {
         @Nullable protected List<Object> consentedClaims;
         
         /** Has consent been asked from the end-user. */
-        protected boolean consentEnabled;
+        protected Boolean consentEnabled;
 
         /** Code challenge. */
         @Nullable protected String codeChallenge;
@@ -1050,7 +1050,7 @@ public class TokenClaimsSet {
          * 
          * @return the builder
          */
-        public Builder<T> setConsentEnabled(final boolean flag) {
+        public Builder<T> setConsentEnabled(@Nullable final Boolean flag) {
             consentEnabled = flag;
             return this;
         }

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


More information about the commits mailing list