« Previous | Next » 

Revision 7b1564bf

ID7b1564bfa839be258fe2759491dba5db241d5e08
Child 5590bded

Added by Karsten Dambekalns over 8 years ago

[BUGFIX] Redirect instead of raising "Entity not found" exception

If you are logged in into a secured Flow project and delete the
corresponding db user (for whatever reasons) an exception "Entity not
found" is raised and not caught.

With this change the exception is caught and instead PolicyEnforcement
will throw an AuthenticationRequiredException, usually calling a
redirect to the configured login page.

Change-Id: I5ae0ae2c174314ceb21ae641cd4ef140ca82efb7
Resolves: #29907
Releases: master, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted