The quote from the ref docs you provided is pointing you at http.exceptionHandling()
. You can set up the shared entry point there.
http.exceptionHandling().authenticationEntryPoint(myEntryPoint);
The quote from the ref docs you provided is pointing you at http.exceptionHandling()
. You can set up the shared entry point there.
http.exceptionHandling().authenticationEntryPoint(myEntryPoint);