Skip to content

Commit

Permalink
Merge pull request #262 from kit-data-manager/development
Browse files Browse the repository at this point in the history
Prepare next release
  • Loading branch information
VolkerHartmann committed Apr 17, 2024
2 parents 40c55b7 + 8afa923 commit 016f925
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [1.3.1] - 2024-04-17

### Fixed
* Problem while validating keycloak tokens.

## [1.3.0] - 2024-04-12

### Added
Expand Down Expand Up @@ -284,7 +289,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security
- none

[Unreleased]: https://github.com/kit-data-manager/service-base/compare/v1.3.0...HEAD
[Unreleased]: https://github.com/kit-data-manager/service-base/compare/v1.3.1...HEAD
[1.3.1]: https://github.com/kit-data-manager/service-base/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/kit-data-manager/service-base/compare/v1.2.1...v1.3.0
[1.2.1]: https://github.com/kit-data-manager/service-base/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/kit-data-manager/service-base/compare/v1.1.1...v1.2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import io.jsonwebtoken.ExpiredJwtException;
import io.jsonwebtoken.Jws;
import io.jsonwebtoken.MalformedJwtException;
import io.jsonwebtoken.UnsupportedJwtException;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.web.authentication.WebAuthenticationDetailsSource;
import org.springframework.web.filter.OncePerRequestFilter;
Expand Down Expand Up @@ -181,6 +182,8 @@ private boolean attemptLocalAuthentication(HttpServletRequest request, HttpServl
throw new MalformedJwtException("Your token is malformed.");
} catch (IllegalArgumentException ex) {
LOG.debug("Illegal argument exception while local authentication attempt.", ex);
} catch (UnsupportedJwtException ex) {
LOG.debug("Unsupported JwtException while local authentication attempt.", ex);
}
return authenticated;
}
Expand Down

0 comments on commit 016f925

Please sign in to comment.