spring-vaadin icon indicating copy to clipboard operation
spring-vaadin copied to clipboard

Spring Security authentication

Open Ertine opened this issue 12 years ago • 3 comments

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...

Ertine avatar Feb 10 '13 16:02 Ertine

Hi.

Does your user have a "ROLE_USER" role?

xpoft avatar Mar 19 '13 07:03 xpoft

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: [email protected] To: [email protected] CC: [email protected] 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.

Ertine avatar Mar 20 '13 18:03 Ertine

Does it actual?

xpoft avatar Jun 19 '13 03:06 xpoft