GUACAMOLE-197: Log error if we reach an unexpected place in the RADIUS conversation.

This commit is contained in:
Nick Couchman committed 2018-01-29 17:08:11 -05:00
1 parent 77cb98c30f
commit 41557566b9
1 file changed
+3 -1
@@ -182,8 +182,10 @@ public class AuthenticationProviderService {
}
// Something unanticipated happened, so we panic
else
else {
logger.error("Unexpected authentication failure talking to RADIUS server.");
throw new GuacamoleInvalidCredentialsException("Unknown error trying to authenticate.", CredentialsInfo.USERNAME_PASSWORD);
}
}
// The user responded to the challenge, send that back to the server