1.3 metadata patch from SDSS
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / wayf / OriginSet.java
index 55fe60b..18883ff 100755 (executable)
@@ -54,8 +54,10 @@ public class OriginSet {
 
        public void addOrigin(Origin origin) {
 
-               origins.add(origin);
-               log.debug("Adding origin site :" + origin.getName() + ":  to set.");
+               if (origin.getHandleService() != null) {
+                       origins.add(origin);
+                       log.debug("Adding origin site :" + origin.getName() + ":  to set.");
+               }
        }
 
 }