mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-103: Process SAML exceptions individually.
This commit is contained in:
@@ -117,15 +117,29 @@ public class SAMLAuthenticationProviderResource {
|
|||||||
).build();
|
).build();
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (IOException
|
catch (IOException e) {
|
||||||
| NoSuchAlgorithmException
|
throw new GuacamoleServerException("I/O exception processing SAML response.", e);
|
||||||
| ParserConfigurationException
|
}
|
||||||
| SAXException
|
catch (NoSuchAlgorithmException e) {
|
||||||
| SettingsException
|
throw new GuacamoleServerException("Unexpected missing SHA-256 support while generating SAML response hash.", e);
|
||||||
| URISyntaxException
|
}
|
||||||
| ValidationError
|
catch (ParserConfigurationException e) {
|
||||||
| XPathExpressionException e) {
|
throw new GuacamoleServerException("Parser exception processing SAML response.", e);
|
||||||
throw new GuacamoleServerException(e);
|
}
|
||||||
|
catch (SAXException e) {
|
||||||
|
throw new GuacamoleServerException("SAX exception processing SAML response.", e);
|
||||||
|
}
|
||||||
|
catch (SettingsException e) {
|
||||||
|
throw new GuacamoleServerException("Settings exception processing SAML response.", e);
|
||||||
|
}
|
||||||
|
catch (URISyntaxException e) {
|
||||||
|
throw new GuacamoleServerException("URI exception process SAML response.", e);
|
||||||
|
}
|
||||||
|
catch (ValidationError e) {
|
||||||
|
throw new GuacamoleServerException("Exception validating SAML response.", e);
|
||||||
|
}
|
||||||
|
catch (XPathExpressionException e) {
|
||||||
|
throw new GuacamoleServerException("XML Xpath exception validating SAML response.", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user