io.quarkus.resteasy.reactive.server.runtime.exceptionmappers.AuthenticationCompletionExceptionMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-rest Show documentation
Show all versions of quarkus-rest Show documentation
A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it.
The newest version!
package io.quarkus.resteasy.reactive.server.runtime.exceptionmappers;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.ext.ExceptionMapper;
import io.quarkus.security.AuthenticationCompletionException;
public class AuthenticationCompletionExceptionMapper implements ExceptionMapper {
@Override
public Response toResponse(AuthenticationCompletionException ex) {
return Response.status(Response.Status.UNAUTHORIZED).build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy