Matias, thank you very much, your guides are very helpful, I am working on it for the moment. I followed your paradigm changing at first my code of using spring security, because I followed See Wah Cheng's approach. The first problem I had is that, after implementing your configuration I was getting an AccessDeniedException, even though I had to get an AuthenticationException. Because of this, http401UnauthorizedEntryPoint wasn't called. So I added in application context the <security:intercept-url pattern="/**" access="ROLE_USER" / > directive, in order to have an AuthenticationException. So it worked. But I am wondering how you get an AuthenticationException at the first place. The only difference I see, is that I am not using <!-- Initialize the Spring MVC DispatcherServlet --> <servlet> <servlet-name>spring</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</ servlet-class> <load-on-startup>1</load-on-startup> </servlet> Spring MVC DispatcherServlet.
On 15 Ιούλ, 00:26, Mattias <[email protected]> wrote: > Check > outhttp://technowobble.blogspot.com/2010/07/gwt-and-open-id-using-spring.... > > On Jul 14, 5:04 pm, giannisdag <[email protected]> wrote: > > > Hi I am using spring security, and I would like to enable andopenid > > login and MVP. I am using spring security at the method level access, > > not at the page level. Simply, when the user requests an action that > > it is not allowed, he is redirected to the login view, where he gets > > two form logins, one with site checking which is done, and one with > >openid. Spring security is used to catch the method access denial. As > > I read, generallyopenidworks like this: > > the user is redirected to anopenidprovider, logins, and then is > > redirected back to the url page. This is done automatically with > > spring security, but with GWT it needs a new approach, implementing > > both spring security and GWT. Does anybody has a demo code? > > Also I found an interesting solution GWT +Openidwithout spring > > security. > > http://armelnene.blogspot.com/2009/12/dummies-guide-to-gwt-and-openid... > > What do you think? -- 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.
