Class AuthenticationCompletionExceptionMapper

  • All Implemented Interfaces:
    javax.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.
     

    See Also:
    AuthenticationCompletionExceptionMapper
    • Constructor Detail

      • AuthenticationCompletionExceptionMapper

        public AuthenticationCompletionExceptionMapper()
    • Method Detail

      • toProblem

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