Joseph Dane wrote:

[14:07:22.035] Failed storing persistent session attribute 
`ACEGI_SECURITY_LAST_EXCEPTION'.  Persistent session values must extend 
java.io.Serializable.
[14:07:22.035] java.io.NotSerializableException: com.sun.jndi.ldap.LdapCtx

my own recommendation, fwiw, would be to just remove this bit.

Hi Joseph

Unfortunately a lot of people rely on the exception information to display diagnostic information to the user. I've taken the easy-way-out:

       try {
request.getSession().setAttribute(ACEGI_SECURITY_LAST_EXCEPTION_KEY, failed);
       } catch (Exception ignored) {}

Now in CVS.

Cheers
Ben


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to