[java-oidc-common] branch main updated: Fixed typos in the if-clauses and Javadoc.

Henri Mikkonen henri.mikkonen at iki.fi
Thu Jan 5 11:04:47 UTC 2023


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

hjmikkon pushed a commit to branch main
in repository java-oidc-common.

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

The following commit(s) were added to refs/heads/main by this push:
     new 7be4a6a  Fixed typos in the if-clauses and Javadoc.
7be4a6a is described below

commit 7be4a6adfb393234340481c729e9209ff8340142
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu Jan 5 13:04:40 2023 +0200

    Fixed typos in the if-clauses and Javadoc.
---
 .../config/navigate/JWTDecryptionConfigurationLookupFunction.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTDecryptionConfigurationLookupFunction.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTDecryptionConfigurationLookupFunction.java
index cf26646..7a1c9d3 100644
--- a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTDecryptionConfigurationLookupFunction.java
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTDecryptionConfigurationLookupFunction.java
@@ -33,7 +33,7 @@ import net.shibboleth.oidc.profile.config.OIDCSecurityConfiguration;
 import net.shibboleth.oidc.security.JWTDecryptionConfiguration;
 
 /**
- * A function that returns a {@link JWTDecryptionConfiguration} list for JWS validation by way
+ * A function that returns a {@link JWTDecryptionConfiguration} list for JWE decrypting by way
  * of various lookup strategies. 
  * 
  * <p>
@@ -73,7 +73,7 @@ public class JWTDecryptionConfigurationLookupFunction
                         instanceof OIDCSecurityConfiguration
                     && ((OIDCSecurityConfiguration) pc.getSecurityConfiguration(
                             input))
-                    .getJwtSignatureValidationConfiguration() != null) {
+                    .getJwtDecryptionConfiguration() != null) {
                 configs.add(((OIDCSecurityConfiguration) pc.getSecurityConfiguration(
                         input))
                         .getJwtDecryptionConfiguration());
@@ -87,7 +87,7 @@ public class JWTDecryptionConfigurationLookupFunction
                             input.getProfileId());
             if (defaultConfig instanceof OIDCSecurityConfiguration
                     && ((OIDCSecurityConfiguration) defaultConfig)
-                    .getJwtSignatureValidationConfiguration() != null) {
+                    .getJwtDecryptionConfiguration() != null) {
                 configs.add(
                         ((OIDCSecurityConfiguration) defaultConfig).getJwtDecryptionConfiguration());
             }

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


More information about the commits mailing list