Fix up logging message to be more clear when SP requires encryption on NameID but...
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 15 Jun 2008 08:09:58 +0000 (08:09 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 15 Jun 2008 08:09:58 +0000 (08:09 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2736 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractSAML2ProfileHandler.java

index 2058da9..9a70225 100644 (file)
@@ -669,12 +669,12 @@ public abstract class AbstractSAML2ProfileHandler extends AbstractSAMLProfileHan
                 } catch (SecurityException e) {
                     log.error("Unable to construct encrypter", e);
                     requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER_URI, null,
-                            "Unable to construct NameID"));
+                            "Unable to encrypt NameID"));
                     throw new ProfileException("Unable to construct encrypter", e);
                 } catch (EncryptionException e) {
                     log.error("Unable to encrypt NameID", e);
                     requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER_URI, null,
-                            "Unable to construct NameID"));
+                            "Unable to encrypt NameID"));
                     throw new ProfileException("Unable to encrypt NameID", e);
                 }
             } else {