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 <
mattias.ekstr...@gmail.com> wrote:
> Check outhttp://
technowobble.blogspot.com/2010/07/gwt-and-open-id-using-spring....
>
> On Jul 14, 5:04 pm, giannisdag <
pascoua...@gmail.com> 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