auth-provider property should be required.
[guacamole.git] / src / main / java / net / sourceforge / guacamole / net / basic / BasicLogin.java
index 6fe2f10..f7b8355 100644 (file)
@@ -56,7 +56,7 @@ public class BasicLogin extends HttpServlet {
 
         // Get auth provider instance
         try {
-            authProvider = GuacamoleProperties.getProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
+            authProvider = GuacamoleProperties.getRequiredProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
         }
         catch (GuacamoleException e) {
             logger.error("Error getting authentication provider from properties.", e);