Author: matthew.hayes
Date: 2011-03-16 00:25:50 -0400 (Wed, 16 Mar 2011)
New Revision: 822
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/saml/v2/util/AssertionUtil.java
Log:
INFO log line in hasExpired was showing up in non-expired assertions. Handling was
correct, logging was the only issue.
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/saml/v2/util/AssertionUtil.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/saml/v2/util/AssertionUtil.java 2011-03-15
22:40:28 UTC (rev 821)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/saml/v2/util/AssertionUtil.java 2011-03-16
04:25:50 UTC (rev 822)
@@ -159,7 +159,7 @@
if(trace) log.trace("Now="+now.toXMLFormat() + "
::notBefore="+notBefore.toXMLFormat()
+ "::notOnOrAfter="+notOnOrAfter);
expiry = !XMLTimeUtil.isValid(now, notBefore, notOnOrAfter);
- if( !expiry )
+ if( expiry )
{
log.info( "Assertion has expired with id=" + assertion.getID() );
}
Show replies by date