mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUACAMOLE-774: Fix RadiusConnectionservice class initilization for use with Guice.
This commit is contained in:
@@ -72,13 +72,10 @@ public class RadiusConnectionService {
|
|||||||
* Set up a new instance of this class, and check the provided
|
* Set up a new instance of this class, and check the provided
|
||||||
* authentication protocol. If the protocol requires MD4 support,
|
* authentication protocol. If the protocol requires MD4 support,
|
||||||
* this loads the required security providers.
|
* 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();
|
RadiusAuthenticationProtocol authProtocol = confService.getRadiusAuthProtocol();
|
||||||
|
|
||||||
// Check for MS-CHAP and add MD4 support
|
// 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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user