[java-identity-provider COMMIT] /trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp

noreply at shibboleth.net noreply at shibboleth.net
Tue Dec 9 21:51:32 EST 2014


Author: scantor
Date: Tue Dec  9 21:51:31 2014
New Revision: 7053

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7053&view=rev
Log:
Shorten application context accessor.

Modified:
    trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp

Modified: trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp?rev=7053&r1=7052&r2=7053&view=diff
==============================================================================
--- trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp (original)
+++ trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp Tue Dec  9 21:51:31 2014
@@ -12,8 +12,7 @@
 final RequestContext requestContext = (RequestContext) request.getAttribute("flowRequestContext");
 final DateTimeFormatter dateTimeFormatter = ISODateTimeFormat.dateTimeNoMillis();
 final DateTime now = DateTime.now();
-final DateTime startupTime = new DateTime(
-        requestContext.getFlowExecutionContext().getActiveSession().getDefinition().getApplicationContext().getStartupDate());
+final DateTime startupTime = new DateTime(requestContext.getActiveFlow().getApplicationContext().getStartupDate());
 %>### Operating Environment Information
 operating_system: <%= System.getProperty("os.name") %>
 operating_system_version: <%= System.getProperty("os.version") %>



More information about the commits mailing list