Author: bdaw
Date: 2011-04-21 02:12:37 -0400 (Thu, 21 Apr 2011)
New Revision: 6311
Modified:
portal/trunk/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMServiceImpl.java
Log:
GTNPORTAL-1866 - Issue with picketlink cache - cached items are never evicted
Modified:
portal/trunk/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMServiceImpl.java
===================================================================
---
portal/trunk/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMServiceImpl.java 2011-04-20
23:04:32 UTC (rev 6310)
+++
portal/trunk/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMServiceImpl.java 2011-04-21
06:12:37 UTC (rev 6311)
@@ -141,7 +141,9 @@
int expiration = -1;
- if (cacheExpirationParam.getValue() != null &&
cacheExpirationParam.getValue().length() > 0)
+ if (cacheExpirationParam != null &&
+ cacheExpirationParam.getValue() != null &&
+ cacheExpirationParam.getValue().length() > 0)
{
expiration = Integer.decode(cacheExpirationParam.getValue());
}
Show replies by date