Techini / vulnado

Purposely vulnerable Java application to help lead secure coding workshops
Apache License 2.0
0 stars 0 forks source link

Bump jjwt-api from 0.10.5 to 0.11.0 #15

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps jjwt-api from 0.10.5 to 0.11.0.

Changelog

Sourced from jjwt-api's changelog.

0.11.0

This minor release:

  • Adds Google's Gson as a natively supported JSON parser. Installation instructions have been updated and new JJWT Gson usage guidelines have been added.

  • Updates the Jackson dependency version to 2.9.10 to address three security vulnerabilities in Jackson.

  • A new JwtParserBuilder interface has been added and is the recommended way of creating an immutable and thread-safe JwtParser instance. Mutable methods in JwtParser will be removed before v1.0. Migration to the new signatures is straightforward, for example:

    Previous Version:

     Jwts.parser()
         .requireAudience("string")
         .parse(jwtString)
    

    Current Version:

    Jwts.parserBuilder()
        .requireAudience("string")
        .build()
        .parse(jwtString)
    
  • Adds io.jsonwebtoken.lang.Maps utility class to make creation of maps fluent, as demonstrated next.

  • Adds support for custom types when deserializing with Jackson. To use configure your parser:

    Jwts.parserBuilder().deserializeJsonWith(
        new JacksonDeserializer(
            Maps.of("claimName", YourType.class).build() // <--
        )
    ).build()
    
  • Moves JSON Serializer/Deserializer implementations to a different package name.

    • io.jsonwebtoken.io.JacksonSerializer -> io.jsonwebtoken.jackson.io.JacksonSerializer
    • io.jsonwebtoken.io.JacksonDeserializer -> io.jsonwebtoken.jackson.io.JacksonDeserializer
    • io.jsonwebtoken.io.OrgJsonSerializer -> io.jsonwebtoken.orgjson.io.OrgJsonSerializer
    • io.jsonwebtoken.io.OrgJsonDeserializer -> io.jsonwebtoken.orgjson.io.OrgJsonDeserializer

    A backward compatibility modules has been created using the deprecated classifier (io.jsonwebtoken:jjwt-jackson:0.11.0:deprecated and io.jsonwebtoken:jjwt-orjson:0.11.0:deprecated), if you are compiling against these classes directly, otherwise you will be unaffected.

Backwards Compatibility Warning

Due to this package move, if you are currently using one of the above four existing (pre 0.11.0) classes with compile scope, you must either:

  1. change your code to use the newer package classes (recommended), or
  2. change your build/dependency configuration to use the deprecated dependency classifier to use the existing classes, as follows:

Maven

</tr></table> ... (truncated)
Commits
  • 3cd48fa [maven-release-plugin] prepare release 0.11.0
  • b4363e1 - Update README to use parserBuilder() instead of parser() (#499) (#559)
  • 1aa8225 Documented how to convert strings to SecretKey instances. Resolves #517 (#561)
  • 5481248 Documented why changing Base64 sometimes does not invalid signature checks. ...
  • c38f4af Ensured DeflateCompressionCodec could fallback to <= 0.10.6 implementation if...
  • 950e6fb cherry-pick 4821395c06b0786e19b1a3153be65f39a2a524d9: Ensured SignatureAlgori...
  • 9481f31 Resolves #552 : changed mock implementation to speed up a very slow test (#553)
  • 2fd3f06 Update SignatureValidator to use MessageDigest (#548)
  • eadf0ce Bump jackson-databind from 2.9.10 to 2.9.10.1 (#532)
  • dacdb2c relocated Service.java to impl module (along with tests). (#529)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

dependabot-preview[bot] commented 4 years ago

Superseded by #24.