You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/11/12 17:48:00 UTC

[jira] [Updated] (NIFI-15211) Replace deprecated setSigningKeyResolver(SigningKeyResolver) of JwtParserBuilder in JwtService with API suggested replacement

     [ https://issues.apache.org/jira/browse/NIFI-15211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Stieglitz updated NIFI-15211:
------------------------------------
    Description: 
{code:java}
2025-11-12T10:24:02.5828425Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,59] [deprecation] SigningKeyResolverAdapter in io.jsonwebtoken has been deprecated
2025-11-12T10:24:02.5831446Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,32] [deprecation] setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder has been deprecated{code}
The goal of this ticket is replace the setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder with the suggested replacement in the [javadocs|https://javadoc.io/static/io.jsonwebtoken/jjwt-api/0.13.0/io/jsonwebtoken/JwtParserBuilder.html#setSigningKeyResolver(io.jsonwebtoken.SigningKeyResolver)].

  was:
{code:java}
2025-11-12T10:24:02.5828425Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,59] [deprecation] SigningKeyResolverAdapter in io.jsonwebtoken has been deprecated
2025-11-12T10:24:02.5831446Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,32] [deprecation] setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder has been deprecated{code}
The goal of this ticket is replace the setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder with suggestion in the [javadocs|https://javadoc.io/static/io.jsonwebtoken/jjwt-api/0.13.0/io/jsonwebtoken/JwtParserBuilder.html#setSigningKeyResolver(io.jsonwebtoken.SigningKeyResolver)].


> Replace deprecated setSigningKeyResolver(SigningKeyResolver) of JwtParserBuilder in JwtService with API suggested replacement
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15211
>                 URL: https://issues.apache.org/jira/browse/NIFI-15211
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> {code:java}
> 2025-11-12T10:24:02.5828425Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,59] [deprecation] SigningKeyResolverAdapter in io.jsonwebtoken has been deprecated
> 2025-11-12T10:24:02.5831446Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,32] [deprecation] setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder has been deprecated{code}
> The goal of this ticket is replace the setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder with the suggested replacement in the [javadocs|https://javadoc.io/static/io.jsonwebtoken/jjwt-api/0.13.0/io/jsonwebtoken/JwtParserBuilder.html#setSigningKeyResolver(io.jsonwebtoken.SigningKeyResolver)].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)