+ ssoId + "'");
}
}
// Look up and remove the corresponding SingleSignOnEntry
SingleSignOnEntry sso = null;
long startTime = System.currentTimeMillis();
SSOStorePoolElement store = null;
try {
store = (SSOStorePoolElement) _pool.take();
store.setContainer(this.getContainer());
synchronized (cache) {
sso = (SingleSignOnEntry) cache.remove(ssoId);
}
try {
/* replace with line below
if(!bgCall)
store.remove(ssoId);//remove from ssotable
else
store.remove(ssoId,null);
*/
store.remove(ssoId);//remove from ssotable
} catch (Exception e){
e.printStackTrace();
}
if (sso == null)
return;
// Expire any associated sessions
Session sessions[] = sso.findSessions();
for (int i = 0; i < sessions.length; i++) {
if (_logger.isLoggable(Level.FINEST)) {
_logger.finest("Invalidating session " + sessions[i]);
}
// Remove from reverse cache first to avoid recursion