[JBoss-user] [Security & JAAS/JBoss] - Re: Multiple logins cause SRP sessions to accummulate in SRP

2005-09-05 Thread c-ackerman
Scott Thanks for the replies. I'm probably a bit paranoid about "close" not being guaranteed to always happen for sessions in general, so I made an extended TimedCachePolicy class that regularly removes expired sessions in its TimerTask. Of course this requires synchronization with threads that

[JBoss-user] [Security & JAAS/JBoss] - Re: Multiple logins cause SRP sessions to accummulate in SRP

2005-08-29 Thread c-ackerman
There is a similar problem in using the TimedCachePolicy as the credential cache in the JaasSecurityManager when using SRP. The TimedCachePolicy only removes entries when an existing entry is replaced by a new one for the same Principal, but the SRPPrincipal object will differ every time because

[JBoss-user] [Security & JAAS/JBoss] - Multiple logins cause SRP sessions to accummulate in SRPRemo

2005-08-25 Thread c-ackerman
I am using the JBoss SRP implementation with multiple sessions per user in JBoss 4.0.2. I see (in the code) that SRPSession objects are never removed from the private sessionMap collection inside the SRPRemoteServer class. I think this will cause the sessionMap to keep on growing as each new mapp