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

Daniel Stieglitz updated NIFI-13225:
------------------------------------
    Description: 
These are the warnings seen from a build

{code:java}
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[47,25]
 [deprecation] SignatureAlgorithm in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[47,66]
 [deprecation] SignatureAlgorithm in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[68,39]
 [deprecation] getBody() in Jwt has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[73,39]
 [deprecation] getBody() in Jwt has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[76,22]
 [deprecation] getBody() in Jwt has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[87,59]
 [deprecation] SigningKeyResolverAdapter in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[87,32]
 [deprecation] setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder 
has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[103,22]
 [deprecation] parseClaimsJws(CharSequence) in JwtParser has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,73]
 [deprecation] SignatureException in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[155,33]
 [deprecation] setSubject(String) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[156,20]
 [deprecation] setIssuer(String) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[157,20]
 [deprecation] setAudience(String) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[160,20]
 [deprecation] setIssuedAt(Date) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[161,20]
 [deprecation] setExpiration(Date) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[162,20]
 [deprecation] signWith(SignatureAlgorithm,byte[]) in JwtBuilder has been 
deprecated
{code}


  was:
These are the warnings seen from a build
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[47,25]
 [deprecation] SignatureAlgorithm in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[47,66]
 [deprecation] SignatureAlgorithm in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[68,39]
 [deprecation] getBody() in Jwt has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[73,39]
 [deprecation] getBody() in Jwt has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[76,22]
 [deprecation] getBody() in Jwt has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[87,59]
 [deprecation] SigningKeyResolverAdapter in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[87,32]
 [deprecation] setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder 
has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[103,22]
 [deprecation] parseClaimsJws(CharSequence) in JwtParser has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,73]
 [deprecation] SignatureException in io.jsonwebtoken has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[155,33]
 [deprecation] setSubject(String) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[156,20]
 [deprecation] setIssuer(String) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[157,20]
 [deprecation] setAudience(String) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[160,20]
 [deprecation] setIssuedAt(Date) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[161,20]
 [deprecation] setExpiration(Date) in ClaimsMutator has been deprecated
[WARNING] 
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[162,20]
 [deprecation] signWith(SignatureAlgorithm,byte[]) in JwtBuilder has been 
deprecated


> Replace the deprecated methods/classes/enums in JwtService with API 
> suggestions
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-13225
>                 URL: https://issues.apache.org/jira/browse/NIFI-13225
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> These are the warnings seen from a build
> {code:java}
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[47,25]
>  [deprecation] SignatureAlgorithm in io.jsonwebtoken has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[47,66]
>  [deprecation] SignatureAlgorithm in io.jsonwebtoken has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[68,39]
>  [deprecation] getBody() in Jwt has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[73,39]
>  [deprecation] getBody() in Jwt has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[76,22]
>  [deprecation] getBody() in Jwt has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[87,59]
>  [deprecation] SigningKeyResolverAdapter in io.jsonwebtoken has been 
> deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[87,32]
>  [deprecation] setSigningKeyResolver(SigningKeyResolver) in JwtParserBuilder 
> has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[103,22]
>  [deprecation] parseClaimsJws(CharSequence) in JwtParser has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[104,73]
>  [deprecation] SignatureException in io.jsonwebtoken has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[155,33]
>  [deprecation] setSubject(String) in ClaimsMutator has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[156,20]
>  [deprecation] setIssuer(String) in ClaimsMutator has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[157,20]
>  [deprecation] setAudience(String) in ClaimsMutator has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[160,20]
>  [deprecation] setIssuedAt(Date) in ClaimsMutator has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[161,20]
>  [deprecation] setExpiration(Date) in ClaimsMutator has been deprecated
> [WARNING] 
> nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/jwt/JwtService.java:[162,20]
>  [deprecation] signWith(SignatureAlgorithm,byte[]) in JwtBuilder has been 
> deprecated
> {code}



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

Reply via email to