Micronaut 4 non-documented breaking changes #1541
-
Hello,
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for reporting these issues @loicmathieu
You can use
You can get a routeMatch in a RouteMatch<?> routeMatch = request.getAttribute(HttpAttributes.ROUTE_MATCH, RouteMatch.class).orElse(null); |
Beta Was this translation helpful? Give feedback.
Thanks for reporting these issues @loicmathieu
You can use
implements AuthenticationProvider<HttpRequest<?>>
safely. We decoupled Micronaut Security from HttpRequest to use it in contexts with no HTTP server running.You can get a routeMatch in a
SecurityRule
by doing: