Environment: GWT 2, Spring + Spring Security 3, gwtrpc-spring 1.01

I am trying to implement authentication for my GWT application using
Spring Security. But when I call the RPC.invokeAndEncodeResponse
method it throws an SerializationException. Looking at the stack trace
I see that AccessDeniedException from Spring is thrown, but for some
reason GWT can't serialize it.

try {
    RPC.invokeAndEncodeResponse(target, serviceMethod, args,
serializationPolicy)

} catch (SerializationException e) {
    logger.error(e);
}

AccessDeniedException inherit from java.lang.RuntimeException. It has
a no-arg constructor inherited from RuntimeException. It does
implement Serializable.

What am I missing here???

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to