[
https://issues.apache.org/jira/browse/NIFI-15211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038151#comment-18038151
]
ASF subversion and git services commented on NIFI-15211:
--------------------------------------------------------
Commit 03b54c1db6fb50a8d1d44be8468582e494b5c092 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=03b54c1db6 ]
NIFI-15211 Updated NiFi Registry JWT Key ID Resolution
This closes #10525
- Replaced deprecated SigningKeyResolverAdapter to KeyLocator
- Changed Key Identifier location from payload to header to work with KeyLocator
- Added nifi-registry-web-api to integration tests workflow paths
Co-authored-by: dan-s1 <[email protected]>
Signed-off-by: Joseph Witt <[email protected]>
> 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: David Handermann
> Priority: Minor
> Fix For: 2.7.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {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 to 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)