[Mono-bugs] [Bug 385877] RolePrincipal.GetRoles returns null on Expired details.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 7 11:38:55 EDT 2008


User ivan at chimerical.com.au added comment

--- Comment #4 from Ivan Hamilton <ivan at chimerical.com.au>  2008-05-07 09:38:55 MST ---
There's a few issues here:

* Reloading the roles cache from the provider
The cache is reloaded from the provider only if NOT expired.
For an expired ticket, the cache is never filled from the provider.
The cache is reloaded from the provider if expired.
For an expired ticket, the cache is refilled from the provider.

* Update issue & expiry date for expired tickets
New issue and expiry dates aren't given for expired tickets.
If the ticket has expired, a new issue & expiry date should be set.

* Incrementing the cookie expiry date
System.Web.Security.Roles.CookieSlidingExpiration isn't being observed.
When the encrypted ticket is created, the expiry date is ALWAYS set to
If System.Web.Security.Roles.CookieSlidingExpiration is true AND less than half
the cookie timeout is remaining before expiry, then the encrypted ticket should
get a new issue & expiry date

* Obey Roles.MaxCachedResults
Roles.MaxCachedResults is ignored
If the role count exceeds the cache limit return null for the ticket.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list