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:
 Exception indicating that a user authentication flow has failed and no challenge is required.
 
  • Constructor Details

    • AuthenticationCompletionExceptionMapper

      public AuthenticationCompletionExceptionMapper()
    • AuthenticationCompletionExceptionMapper

      @Inject public AuthenticationCompletionExceptionMapper(PostProcessorsRegistry postProcessorsRegistry)
  • Method Details

    • toProblem

      protected HttpProblem toProblem(io.quarkus.security.AuthenticationCompletionException exception)
      Specified by:
      toProblem in class ExceptionMapperBase<io.quarkus.security.AuthenticationCompletionException>