github micronaut-projects/micronaut-security v2.0.1
Micronaut Security 2.0.1

latest releases: v4.11.1, v4.11.0, v4.10.2...
4 years ago

Dependency upgrades

  • nimbus-jose-jwt from 8.19 to 8.20
  • bump unboundid-ldapsdk from 5.1.0 to 5.1.1

Fixes

  • fix: SecurityService::hasRole case sensitive (#326)
  • load cookieNoncePersistence in application context (#355)

Improvements

  • Small refactoring of TokenAuthenticationFetcher (#289)

  • log: better logging if nonce validator fails (

  • Allow NonceClaimValidator to be disabled (#358)

DefaultOpenIdTokenResponseValidator:

  • cache JkwsSignature for jwks uri
  • extract two proteced methods to simplify override

JwtValidator:

  • Don’t parse JWT if it does not have two dots
  • DefaultSecurityService should use RolesFinder (#328)

v2.0.1 (2020-09-23)

Full Changelog

Fixed bugs:

  • JWT validation failed using Cognito with Google Oauth2 #346
  • SecurityService::hasRole should be case sensitive both for collections and strings #325
  • fix: load CookieNoncePersistence in application context #355 (@sdelamo)
  • DefaultSecurityService should use RolesFinder #328 (@sdelamo)
  • Check if the Authorization value is long enough to substring the prefix in BasicAuthAuthenticationFetcher #321 (@sdelamo)

Closed issues:

  • Recognise absolute oauth2 callback-uri as absolute and don't append it to the base uri #370
  • Unnecessary warning: Invalid JWT serialization #344
  • Token refresh process improvements #315
  • Micronaut Security: master as the default branch #312
  • jwt authentication support in http/2 #300
  • SAML Support #290

Merged pull requests:

  • Recognise absolute oauth2 callback-uri as absolute and don't append it to the base uri (#370)

Don't miss a new micronaut-security release

NewReleases is sending notifications on new releases.