Fixed a bug that prevented the HS from supporting multiple SAML Name Identifier formats.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 15 Sep 2004 19:11:21 +0000 (19:11 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 15 Sep 2004 19:11:21 +0000 (19:11 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1081 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/hs/HSServiceProviderMapper.java

index ddae04b..2d1c29d 100644 (file)
@@ -189,7 +189,7 @@ public class HSServiceProviderMapper extends ServiceProviderMapper {
                                                        + ").  Ignoring all but the first.");
                                }
 
-                               String hsNameFormatId = ((Element) hsNameFormats.item(0)).getAttribute("nameMapping");
+                               hsNameFormatId = ((Element) hsNameFormats.item(0)).getAttribute("nameMapping");
                                if (hsNameFormatId == null || hsNameFormatId.equals("")) {
                                        log.error("HS Name Format mapping not set.  Add a (nameMapping) attribute to <HSNameFormat>.");
                                        throw new ServiceProviderMapperException("Required configuration not specified.");