Why the access exception is not an unexpectedFailure of the
remoteServiceServlet;

this is my log
SEVERE: [1279499963707000] javax.servlet.ServletContext log:
dispatcher: Exception while executing
com.example.test.shared.model.command.GetUsers: Access is denied
org.springframework.security.access.AccessDeniedException: Access is
denied
        at
org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:
71)
        at
org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:
203)
        at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:
64)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
172)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:
202)
        at $Proxy10.execute(Unknown Source)

this is the code of the remoteserviceservlet


        @Override
        protected void doUnexpectedFailure(Throwable e) {
                if (e.getCause() instanceof AccessDeniedException) {
                        AccessDeniedException ade = (AccessDeniedException) 
e.getCause();
                        throw ade;
                } else {
                        super.doUnexpectedFailure(e);
                }
        }

I would appreciate any help

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

Reply via email to