mace-opensaml-users - Expiration: IssueInstant/NotOnOrAfter
Subject: OpenSAML user discussion
List archive
- From:
- To:
- Subject: Expiration: IssueInstant/NotOnOrAfter
- Date: Wed, 7 Sep 2005 01:05:33 -0400 (EDT)
BrowserProfile.receive (and deprecated SAMLPOSTProfile.process) seems to base
expiration against the IssueInstant, for example:
//Check security bits in the outer wrapper (Recipient and IssueInstant)
...
if (response->getIssueInstant()->getEpoch() < now-(2*config.clock_skew_secs))
throw ExpiredAssertionException("detected expired POST profile
response");
(BrowserProfile.receive then subsequently checks the NotBefore and
NotOnOrAfter conditions)
Not knowing any better, I'd assumed that the "conditions" could be
iteratively validated in a generalized manner (such as with TSIK's
validateConditions) and that an arbitrary NotOnOrAfter could be set, but it
seems that the bounding condition is config.clock_skew_secs rather than
NotOnOrAfter -- what is the reasoning behind basing expiration on
IssueInstant rather than simply NotOnOrAfter?
- Expiration: IssueInstant/NotOnOrAfter, sventek23, 09/07/2005
- RE: Expiration: IssueInstant/NotOnOrAfter, Scott Cantor, 09/07/2005
Archive powered by MHonArc 2.6.16.