From 5559cf6c2b21a41fddbda847a23a0f4aa96b7819 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 2 Jun 2014 14:07:59 +0200 Subject: [PATCH] lib: Add AuthenticationException for exceptions thrown during authentication Our user backends log exceptions thrown during authentication but they don't throw a exception to inform the caller that an error occured. The new `AuthenticationException' class should be thrown in that case. --- .../Icinga/Exception/AuthenticationException.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 library/Icinga/Exception/AuthenticationException.php diff --git a/library/Icinga/Exception/AuthenticationException.php b/library/Icinga/Exception/AuthenticationException.php new file mode 100644 index 000000000..91180b796 --- /dev/null +++ b/library/Icinga/Exception/AuthenticationException.php @@ -0,0 +1,14 @@ +