[java-identity-provider] branch main updated: Add plugin list to status page.

Rod Widdowson rdw at steadingsoftware.com
Wed Sep 9 09:46:23 UTC 2020


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=e3456adbc611f62b59d5c79225f8521a1196bf38

The following commit(s) were added to refs/heads/main by this push:
       new  e3456adbc Add plugin list to status page.
e3456adbc is described below

commit e3456adbc611f62b59d5c79225f8521a1196bf38
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Sep 9 10:46:18 2020 +0100

    Add plugin list to status page.
---
 idp-war/src/main/webapp/WEB-INF/jsp/status.jsp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
index 41160c06e..d33fa9cfa 100644
--- a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
+++ b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
@@ -17,6 +17,7 @@
 <%@ page import="com.codahale.metrics.MetricSet" %>
 <%@ page import="com.codahale.metrics.Gauge" %>
 <%@ page import="net.shibboleth.idp.module.IdPModule" %>
+<%@ page import="net.shibboleth.idp.plugin.PluginDescription" %>
 <%@ page import="net.shibboleth.idp.module.ModuleContext" %>
 <%@ page import="net.shibboleth.idp.saml.metadata.impl.ReloadingRelyingPartyMetadataProvider" %>
 <%@ page import="net.shibboleth.idp.attribute.resolver.AttributeResolver" %>
@@ -56,6 +57,13 @@ for (final IdPModule module : ServiceLoader.load(IdPModule.class)) {
 }
 out.println();
 
+out.println("installed plugins: ");
+for (final PluginDescription plugin : ServiceLoader.load(PluginDescription.class)) {
+    out.println("\t" + plugin.getPluginId() + " Version " + plugin.getMajorVersion() + "." + plugin.getMinorVersion() + "." + plugin.getPatchVersion());
+}
+out.println();
+
+
 for (final ReloadableService service : (Collection<ReloadableService>) request.getAttribute("services")) {
     final Instant successfulReload = service.getLastSuccessfulReloadInstant();
     final Instant lastReload = service.getLastReloadAttemptInstant();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list