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

This commit is contained in:
Nick Couchman
2017-07-14 16:53:39 -04:00
parent 77cb98c30f
commit 41557566b9

View File

@@ -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