[JBoss Seam] - Re: dataTable in two windows
by alex.kozlenkov
Hello guys,
My first post here so perhaps not so insigtful. I'm on the same subject of duplicate actions. I have found that even a simple form submission like a simple sayHello method results in duplicate action. Could you perhaps make it more clear what should be done for it to stop doing that?
Secondly, I'm experimenting with the new Seam security (in the CVS). I have found a few problems, the first being that once we are logged in, retyping the URL address of the starting page does not result in a request so the login dialogue is available once more since identity.loggedIn is not checked. So my question is what should normally happen when a user types in the URL directly.
Cheers,
Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001716#4001716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001716
19 years, 3 months
[Security & JAAS/JBoss] - Re: TimedCachedPolicy never removes entries from cache
by ramazanyich
Still have exactly the same issue in jboss4.0.4GA (probably JBOSS4.0.5.GA as sources of this part are not changed).
We also have thousands of users.
For a moment only possible solution is to extend TimedCachePolicy class and reiplement run() method. Currently this method only changes current time.
But expired objects can be removed at this time.
public void run() {
super.run();
synchronized (entryMap) {
Iterator iter = entryMap.entrySet().iterator();
List removeentries = new ArrayList();
while (iter.hasNext()) {
Map.Entry entry = (Map.Entry) iter.next();
TimedEntry value = (TimedEntry) entry.getValue();
if (value.isCurrent(now) == false) {
if(log.isDebugEnabled()){
log.debug("destroying object:"+value);
}
value.destroy();
removeentries.add(entry.getKey());
}
}
for (Object object : removeentries) {
if(log.isDebugEnabled()){
log.debug("removing object from Map:"+object);
}
entryMap.remove(object);
}
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001715#4001715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001715
19 years, 3 months