spring-security and jsf
Posted
by Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2010-05-09T11:12:55Z
Indexed on
2010/05/09
11:18 UTC
Read the original article
Hit count: 153
spring-security
Hi!
i am developing in JSF a Spring Security application. the login form is fine. however, when i try to retrieve the authentication object, in future code, i always get the authentication pricipal as anonymous.
i try to fetch is like this: Authentication auth = SecurityContextHolder.getContext().getAuthentication();
© Stack Overflow or respective owner