return  (doc);
}
public boolean isCacheValid (Object validity) {
if (validity instanceof Long) {
Long oldtime = (Long)validity;
<BUG>if (staticData.getPerson().isGuest()) {
return true;</BUG>
}
if (System.currentTimeMillis() - oldtime.longValue() < 1*60*1000) {
return true;

return  (doc);
}
public boolean isCacheValid (Object validity) {
if (validity instanceof Long) {
Long oldtime = (Long)validity;
if (!staticData.getPerson().getSecurityContext().isAuthenticated()) {
return true;
}
if (System.currentTimeMillis() - oldtime.longValue() < 1*60*1000) {
return true;
