<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>All times in SAML are UTC. So use UTC on your server to compare to the timestamps in the messages your receive.</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Mitu Singh &lt;<a href="mailto:mitusingh27@yahoo.com">mitusingh27@yahoo.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>Shibboleth Dev &lt;<a href="mailto:dev@shibboleth.net">dev@shibboleth.net</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, April 15, 2013 7:48 PM<br>
<span style="font-weight:bold">To: </span>Shibboleth Dev &lt;<a href="mailto:dev@shibboleth.net">dev@shibboleth.net</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>DaeTime validations in opensaml....<br>
</div>
<div><br>
</div>
<div>
<div>
<div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt">
<div><br>
</div>
<div class="yui_3_7_2_19_1366069183381_59" style="font-family: tahoma, new york, times, serif; font-size: 10pt;">
<div class="yui_3_7_2_19_1366069183381_63" style="font-family: times new roman, new york, times, serif; font-size: 12pt;">
Hi,<br>
<br>
I am implementing a Service Provider using OpenSAML. <br>
<br>
I want to validate the issue instant of the response and assertion and also the NotOnOrAfter and NotBefore in the Subject. How can I do this? How can I take into account the different time zone.<br>
<br>
Is there a code snippet that I can use?<br>
<br>
Thanks<br>
-Mitu<br>
</div>
</div>
<span></span>
<div></div>
</div>
</div>
</div>
</span>
</body>
</html>