auth-provider property should be required.

This commit is contained in:
Michael Jumper
2011-12-20 21:43:16 -08:00
parent 0439f0043e
commit cc2e57e1d6

View File

@@ -56,7 +56,7 @@ public class BasicLogin extends HttpServlet {
// Get auth provider instance // Get auth provider instance
try { try {
authProvider = GuacamoleProperties.getProperty(BasicGuacamoleProperties.AUTH_PROVIDER); authProvider = GuacamoleProperties.getRequiredProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
} }
catch (GuacamoleException e) { catch (GuacamoleException e) {
logger.error("Error getting authentication provider from properties.", e); logger.error("Error getting authentication provider from properties.", e);