I have found so far that the fc.doFilter() say's process all the
filters before entering the Servlet. And, I suspect that someone has
set a non-serializable object.
We had the first two, one CAS Filter and then a custom filter that
used an interface java.security.Principal to handle a new
UserPrincipal() that I implemented Serializable. I wasn't sure about
setAttribute("asdfasd", principal) so I switched the interface to
UserPrincipal principal the object. That didn't affect the error.
The vendor is checking their filters code now.
David
On Thu, Jul 9, 2009 at 11:43 AM, Scott
Battaglia<
[hidden email]> wrote:
> I believe that the CASReceipt is not serializable (but I could be
> remembering wrong).
>
> Cheers,
> Scott
>
>
> On Thu, Jul 9, 2009 at 10:48 AM, David Whitehurst <
[hidden email]>
> wrote:
>>
>> Anyone seen this error coming from doFilter() in the Yale CAS Client?
>> I'm assuming at this point it's this ..
>>
>> // Store the authenticated user in the session
>> if (session != null) // probably unncessary
>> session.setAttribute(CAS_FILTER_USER, user);
>>
>> I am using third-party application and no source. Also the stack
>> trace is giving bad line numbers. What worries me is the comment //
>> probably unnecessary .. Is it unnecessary? CAS server should set
>> this on authentication (server-side).
>>
>> Error:
>>
>> java.lang.IllegalArgumentException: setAttribute: Non-serializable
>> attribute
>>
>>
>> David
>>
>> --
>> David L. Whitehurst
>>
http://www.capehenrytech.com … Providing software instruction through
>> a sea of Technology.
>>
>> --
>> You are currently subscribed to
[hidden email] as:
>>
[hidden email]
>> To unsubscribe, change settings or access archives, see
>>
http://www.ja-sig.org/wiki/display/JSG/cas-dev>>
>
> --
> You are currently subscribed to
[hidden email] as:
>
[hidden email]
> To unsubscribe, change settings or access archives, see
>
http://www.ja-sig.org/wiki/display/JSG/cas-dev--
David L. Whitehurst
http://www.capehenrytech.com … Providing software instruction through
a sea of Technology.
--
You are currently subscribed to
[hidden email] as:
[hidden email]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev