mitreid-connect / OpenID-Connect-Java-Spring-Server

An OpenID Connect reference implementation in Java on the Spring platform.
Other
1.47k stars 767 forks source link

Fix error-page for POST,PUT, etc. #1498

Open thomasmey opened 4 years ago

thomasmey commented 4 years ago

the view controller error in authz-config.xml forwards to the resp. JSP, but the error page only supports GET method.

Install a real error controller that at least logs all error messages and then forwards to the view controller, so not handled exceptions for e.g. POST request can actually be found.

codecov-io commented 4 years ago

Codecov Report

Merging #1498 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1498   +/-   ##
=========================================
  Coverage     25.21%   25.21%           
  Complexity      912      912           
=========================================
  Files           209      209           
  Lines         11689    11689           
  Branches       2116     2116           
=========================================
  Hits           2947     2947           
  Misses         8227     8227           
  Partials        515      515

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cc6bd4b...e2d1824. Read the comment docs.