Add extra exception handler, needed with upcoming opensaml changes.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 28 Oct 2003 04:31:50 +0000 (04:31 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 28 Oct 2003 04:31:50 +0000 (04:31 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@777 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/AASaml.java

index 9439bf1..75695e4 100755 (executable)
@@ -189,7 +189,11 @@ public class AASaml {
                                                "Dumping generated SAML Response:"
                                                + System.getProperty("line.separator")
                                                + new String(new BASE64Decoder().decodeBuffer(new String(sResp.toBase64(), "ASCII")), "UTF8"));
-                               } catch (IOException e) {
+                               }
+                catch (SAMLException e) {
+                    log.error("Encountered an error while decoding SAMLReponse for logging purposes.");
+                }
+                catch (IOException e) {
                                        log.error("Encountered an error while decoding SAMLReponse for logging purposes.");
                                }
                        }