Open Ertine opened 11 years ago
Hi.
Does your user have a "ROLE_USER" role?
yes, i see all view's after the starting a rememberme service have object type Proxy and vaadin crash about it...
Date: Tue, 19 Mar 2013 00:23:41 -0700 From: notifications@github.com To: spring-vaadin@noreply.github.com CC: ebuzurol@hotmail.com Subject: Re: [spring-vaadin] Spring Security authentication (#5)
Hi.
Does your user have a "ROLE_USER" role?
— Reply to this email directly or view it on GitHub.
Does it actual?
Hi! I take sample from http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#d0e1837 and run it with vaadin-spring-integration add-on. These code from example:
Authentication request = new UsernamePasswordAuthenticationToken(name, password); Authentication result = am.authenticate(request); SecurityContextHolder.getContext().setAuthentication(result);
After true authentication i can't open view's with @Secured("ROLE_USER") anotation, because show error: Acces denied. I think it is a bug...