Fix RadiusConnectionservice class initilization for use with Guice.
@@ -72,13 +72,10 @@ public class RadiusConnectionService {
* Set up a new instance of this class, and check the provided
* authentication protocol. If the protocol requires MD4 support,
* this loads the required security providers.
- *
- * @throws GuacamoleException
- * If guacamole.properties cannot be parsed or an invalid
- * authentication protocol is provided.
*/
- public RadiusConnectionService() throws GuacamoleException {
+ public RadiusConnectionService() {
+ try {
RadiusAuthenticationProtocol authProtocol = confService.getRadiusAuthProtocol();
// Check for MS-CHAP and add MD4 support
@@ -93,6 +90,10 @@ public class RadiusConnectionService {
});
}
+ } catch(GuacamoleException e) {
+ logger.error("Could not retrieve RADIUS authentication protocol: {}", e.getMessage());
+ logger.debug("Failed to determine authentication protocol", e);
+ }
}
