Changes in Release 2.2.0
=============================================
+[SIDP-365] - Expose uptime of IdP web application with status handler
[SIDP-362] - Only log exception message without stack trace for expired SAML messages
[SIDP-360] - Session isn't being set within the attribute request context during a SAML1 attribute query
[SIDP-359] - HttpServletHelper.getRelyingPartyConfirmationManager misnamed
<groupId>edu.internet2.middleware</groupId>
<artifactId>shibboleth-identityprovider</artifactId>
- <version>2.1.5</version>
+ <version>2.2.0-SNAPSHOT</version>
<!-- We bundle as a jar here, the installer creates the WAR -->
<packaging>jar</packaging>
<dependency>
<groupId>edu.internet2.middleware</groupId>
<artifactId>shibboleth-common</artifactId>
- <version>1.1.4</version>
+ <version>1.2.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
</profiles>
<!-- Project Metadata -->
- <url>https://shibboleth.internet2.edu/</url>
+ <url>http://shibboleth.internet2.edu/</url>
<inceptionYear>2006</inceptionYear>
import org.apache.commons.httpclient.HttpStatus;
import org.joda.time.DateTime;
+import org.joda.time.Duration;
import org.joda.time.chrono.ISOChronology;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
*/
protected void printOperatingEnvironmentInformation(PrintWriter out) {
Runtime runtime = Runtime.getRuntime();
+ DateTime now = new DateTime(ISOChronology.getInstanceUTC());
out.println("### Operating Environment Information");
out.println("operating_system: " + System.getProperty("os.name"));
out.println("available_cores: " + runtime.availableProcessors());
out.println("used_memory: " + runtime.totalMemory() / 1048576 + "MB");
out.println("maximum_memory: " + runtime.maxMemory() / 1048576 + "MB");
- out.println("current_time: " + new DateTime(ISOChronology.getInstanceUTC()).toString(dateFormat));
+ out.println("start_time: " + startTime.toString(dateFormat));
+ out.println("current_time: " + now.toString(dateFormat));
+ out.println("uptime: " + (now.getMillis() - startTime.getMillis()) + "ms");
}
/**