Try and make thwe rrror message more coherent
authorrdw <rdw@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 21 Sep 2007 10:03:09 +0000 (10:03 +0000)
committerrdw <rdw@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 21 Sep 2007 10:03:09 +0000 (10:03 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2405 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml1/AbstractSAML1ProfileHandler.java

index 3bad645..a03957e 100644 (file)
@@ -341,8 +341,8 @@ public abstract class AbstractSAML1ProfileHandler extends AbstractSAMLProfileHan
             }
             requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER, null,
                     "Unable to construct NameIdentifier"));
             }
             requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER, null,
                     "Unable to construct NameIdentifier"));
-            log.error("No principal attribute supported encoding into the a supported name ID format.");
-            throw new ProfileException("No principal attribute supported encoding into the a supported name ID format.");
+            log.error("No principal attribute supports an encoding into a supported name ID format.");
+            throw new ProfileException("No principal attribute supports an encoding into a supported name ID format.");
         } catch (AttributeEncodingException e) {
             log.error("Unable to construct NameIdentifier", e);
             requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER, null,
         } catch (AttributeEncodingException e) {
             log.error("Unable to construct NameIdentifier", e);
             requestContext.setFailureStatus(buildStatus(StatusCode.RESPONDER, null,