[java-identity-provider] branch master updated: OSJ-206: Promote new public methods to MetadataResolver subinterfaces
Brent Putman
putmanb at georgetown.edu
Fri Apr 19 11:59:20 EDT 2019
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=7772513608f9813778bf4bbfede89efd0b86c0fc
The following commit(s) were added to refs/heads/master by this push:
new 7772513 OSJ-206: Promote new public methods to MetadataResolver subinterfaces
7772513 is described below
commit 7772513608f9813778bf4bbfede89efd0b86c0fc
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Fri Apr 19 11:59:18 2019 -0400
OSJ-206: Promote new public methods to MetadataResolver subinterfaces
Clean up refactoring in previous commit.
---
idp-war/src/main/webapp/WEB-INF/jsp/status.jsp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
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 910b2d4..7371f15 100644
--- a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
+++ b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
@@ -8,7 +8,6 @@
<%@ page import="org.springframework.webflow.execution.RequestContext" %>
<%@ page import="org.opensaml.saml.metadata.resolver.ChainingMetadataResolver" %>
<%@ page import="org.opensaml.saml.metadata.resolver.MetadataResolver" %>
-<%@ page import="org.opensaml.saml.metadata.resolver.RefreshableMetadataResolver" %>
<%@ page import="org.opensaml.saml.metadata.resolver.BatchMetadataResolver" %>
<%@ page import="org.opensaml.saml.metadata.resolver.RefreshableMetadataResolver" %>
<%@ page import="net.shibboleth.idp.Version" %>
@@ -83,11 +82,8 @@ for (final ReloadableService service : (Collection<ReloadableService>) request.g
for (final RefreshableMetadataResolver resolver : resolvers) {
final Instant lastRefresh = resolver.getLastRefresh();
final Instant lastUpdate = resolver.getLastUpdate();
+ final Instant lastSuccessfulRefresh = resolver.getLastSuccessfulRefresh();
- Instant lastSuccessfulRefresh = null;
- if (resolver instanceof RefreshableMetadataResolver) {
- lastSuccessfulRefresh = ((RefreshableMetadataResolver)resolver).getLastSuccessfulRefresh();
- }
Instant rootValidUntil = null;
if (resolver instanceof BatchMetadataResolver) {
rootValidUntil = ((BatchMetadataResolver)resolver).getRootValidUntil();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list