Cherry-pick: Merge branch 'request-reject-handler' into 'release/0.24'
make request reject handler global
See merge request !468 (merged)
(cherry picked from commit c59a1bfd)
7893e4b4 make request reject handler global b3299ef4 move bean config to config class