Class AuthenticationCompletionExceptionMapper
java.lang.Object
io.quarkiverse.httpproblem.ExceptionMapperBase<io.quarkus.security.AuthenticationCompletionException>
io.quarkiverse.httpproblem.security.AuthenticationCompletionExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<io.quarkus.security.AuthenticationCompletionException>
@Priority(4999)
public final class AuthenticationCompletionExceptionMapper
extends ExceptionMapperBase<io.quarkus.security.AuthenticationCompletionException>
Mapper overriding default Quarkus exception mapper to make all error responses compliant with RFC7807.
From AuthenticationCompletionException javadocs on WWW-Authenticate header:
From AuthenticationCompletionException javadocs on WWW-Authenticate header:
Exception indicating that a user authentication flow has failed and no challenge is required.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationCompletionExceptionMapper(PostProcessorsRegistry postProcessorsRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpProblemtoProblem(io.quarkus.security.AuthenticationCompletionException exception) Methods inherited from class io.quarkiverse.httpproblem.ExceptionMapperBase
toResponse
-
Constructor Details
-
AuthenticationCompletionExceptionMapper
public AuthenticationCompletionExceptionMapper() -
AuthenticationCompletionExceptionMapper
@Inject public AuthenticationCompletionExceptionMapper(PostProcessorsRegistry postProcessorsRegistry)
-
-
Method Details
-
toProblem
- Specified by:
toProblemin classExceptionMapperBase<io.quarkus.security.AuthenticationCompletionException>
-