Github user necouchman commented on a diff in the pull request:
    --- Diff: 
    @@ -75,6 +84,10 @@ public String processUsername(String ticket) throws 
GuacamoleException {
             catch (TicketValidationException e) {
                 throw new GuacamoleException("Ticket validation failed.", e);
    +        catch (Throwable t) {
    +            logger.error("Error validating ticket with CAS server: {}", 
    +            throw new GuacamoleInsufficientCredentialsException("Error 
validating ticket with CAS server.", t, CredentialsInfo.USERNAME_PASSWORD);
    --- End diff --
    Still not sure this is the right exception to throw.  It's the one that 
works - that actually displays an error on the dialog box - but still seems a 
little weird to throw Insufficient instead of Invalid.  However, throwing 
Invalid and getting the error would require some additional reworking of the 
index controller.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to