Class UnauthorizedExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<io.quarkus.security.UnauthorizedException>

    @Priority(5000)
    public final class UnauthorizedExceptionMapper
    extends ExceptionMapperBase<io.quarkus.security.UnauthorizedException>
    Mapper overriding default Quarkus exception mapper to make all error responses compliant with RFC7807.
    See Also:
    UnauthorizedExceptionMapper
    • Constructor Detail

      • UnauthorizedExceptionMapper

        public UnauthorizedExceptionMapper()
    • Method Detail

      • toProblem

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