[java-oidc-common] branch main updated: Fixed wrong class name in the if clause.
Henri Mikkonen
henri.mikkonen at iki.fi
Wed Jan 11 17:32:40 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=5ce4913490e48d314490b9804ad77a09231387dd
The following commit(s) were added to refs/heads/main by this push:
new 5ce4913 Fixed wrong class name in the if clause.
5ce4913 is described below
commit 5ce4913490e48d314490b9804ad77a09231387dd
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Jan 11 19:32:35 2023 +0200
Fixed wrong class name in the if clause.
---
.../config/navigate/JWTEncryptionConfigurationLookupFunction.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTEncryptionConfigurationLookupFunction.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTEncryptionConfigurationLookupFunction.java
index 5ec9600..ab2e559 100644
--- a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTEncryptionConfigurationLookupFunction.java
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/navigate/JWTEncryptionConfigurationLookupFunction.java
@@ -30,7 +30,6 @@ import net.shibboleth.idp.profile.context.RelyingPartyContext;
import net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction;
import net.shibboleth.idp.relyingparty.RelyingPartyConfigurationResolver;
import net.shibboleth.oidc.profile.config.JSONSecurityConfiguration;
-import net.shibboleth.oidc.profile.config.OIDCSecurityConfiguration;
import net.shibboleth.oidc.security.jose.EncryptionConfiguration;
/**
@@ -69,7 +68,7 @@ public class JWTEncryptionConfigurationLookupFunction
final RelyingPartyContext rpc = getRelyingPartyContextLookupStrategy().apply(input);
if (rpc != null) {
final ProfileConfiguration pc = rpc.getProfileConfig();
- if (pc != null && pc.getSecurityConfiguration(input) instanceof OIDCSecurityConfiguration
+ if (pc != null && pc.getSecurityConfiguration(input) instanceof JSONSecurityConfiguration
&& ((JSONSecurityConfiguration) pc.getSecurityConfiguration(input))
.getJwtEncryptionConfiguration() != null) {
configs.add(((JSONSecurityConfiguration) pc.getSecurityConfiguration(input))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list