Move credential usage enum to Credential class.
[shibboleth/sp.git] / shibsp / handler / impl / StatusHandler.cpp
index f95ffe1..cfb06c7 100644 (file)
@@ -222,6 +222,19 @@ pair<bool,long> StatusHandler::processMessage(
         }
     }
 
+    s << "<Application id='" << application.getId() << "' entityID='" << application.getString("entityID").second << "'/>";
+
+    s << "<Handlers>";
+    vector<const Handler*> handlers;
+    application.getHandlers(handlers);
+    for (vector<const Handler*>::const_iterator h = handlers.begin(); h != handlers.end(); ++h) {
+        s << "<Handler type='" << (*h)->getType() << "' Location='" << (*h)->getString("Location").second << "'";
+        if ((*h)->getString("Binding").first)
+            s << " Binding='" << (*h)->getString("Binding").second << "'";
+        s << "/>";
+    }
+    s << "</Handlers>";
+
     s << "<Status>" << status << "</Status></StatusHandler>";
 
     httpResponse.setContentType("text/xml");