Skip to content

Commit

Permalink
Makes EmptyReactiveSecurityContextException a subclass of JwtResolver…
Browse files Browse the repository at this point in the history
…, as this is the only place it's now in use (and only internally in package).
  • Loading branch information
rfc3092 committed Feb 26, 2025
1 parent 7ec508f commit 6adcb8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,13 @@ Mono<Authentication> getJwtAuthenticationToken() {
.doOnNext(context -> log.info("JwtResolver context.authentication {} {}", context.getAuthentication().getClass().getCanonicalName(), context.getAuthentication()))
.map(SecurityContext::getAuthentication);
}

static class EmptyReactiveSecurityContextException extends IllegalStateException {

EmptyReactiveSecurityContextException() {
super();
}

}

}

0 comments on commit 6adcb8d

Please sign in to comment.